Test Failed
Branch master (6512d2)
by P.R.
02:54
created
src/ClubCollectApiClient.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -162,10 +162,10 @@
 block discarded – undo
162 162
                                   ?array $body = null)
163 163
   {
164 164
     $url = sprintf('%s/%s%s%s',
165
-                   $this->apiEndpoint,
166
-                   self::API_VERSION,
167
-                   $this->composePath($path),
168
-                   $this->composerQuery($query));
165
+                    $this->apiEndpoint,
166
+                    self::API_VERSION,
167
+                    $this->composePath($path),
168
+                    $this->composerQuery($query));
169 169
 
170 170
     return $this->performHttpCallToFullUrl($httpMethod, $url, $this->composeRequestBody($body));
171 171
   }
Please login to merge, or discard this patch.
src/Endpoint/CompanyEndpoint.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
   {
25 25
     /** @var Company $resource */
26 26
     $resource = parent::restRead(['companies', $this->client->getCompanyId()],
27
-                                 ['api_key' => $this->client->getApiKey()]);
27
+                                  ['api_key' => $this->client->getApiKey()]);
28 28
     if (!is_a($resource, Company::class))
29 29
     {
30 30
       throw new ClubCollectApiException('Expected a Company object, got a %s', get_class($resource));
Please login to merge, or discard this patch.
src/Endpoint/ImportEndpoint.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
   {
30 30
     /** @var Import $resource */
31 31
     $resource = parent::restCreate(['imports'],
32
-                                   ['api_key' => $this->client->getApiKey()],
33
-                                   ['title'                   => $title,
32
+                                    ['api_key' => $this->client->getApiKey()],
33
+                                    ['title'                   => $title,
34 34
                                     'company_id'              => $this->client->getCompanyId(),
35 35
                                     'expected_invoices_count' => $expectedInvoiceCount]);
36 36
     if (!is_a($resource, Import::class))
Please login to merge, or discard this patch.