Test Failed
Push — master ( e6139c...a4ccfc )
by P.R.
02:10
created
src/ClubCollectApiClient.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
       {
280 280
         if ($first)
281 281
         {
282
-          $uri   .= '?';
282
+          $uri .= '?';
283 283
           $first = false;
284 284
         }
285 285
         else
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
    */
328 328
   private function parseResponseBody(ResponseInterface $response): ?array
329 329
   {
330
-    $body = (string)$response->getBody();
330
+    $body = (string) $response->getBody();
331 331
     if (empty($body))
332 332
     {
333 333
       if ($response->getStatusCode()===self::HTTP_NO_CONTENT)
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
       throw new ClubCollectApiException("Unable to decode ClubCollect response: '{$body}'.");
345 345
     }
346 346
 
347
-    if ($response->getStatusCode()>=400)
347
+    if ($response->getStatusCode() >= 400)
348 348
     {
349 349
       throw ClubCollectApiException::createFromResponse($response);
350 350
     }
Please login to merge, or discard this patch.
src/Endpoint/Endpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
       {
127 127
         $list[] = $this->createResourceObject($import);
128 128
       }
129
-    } while ($page<($to ?? $result['page']['total_pages']));
129
+    } while ($page < ($to ?? $result['page']['total_pages']));
130 130
 
131 131
     return $list;
132 132
   }
Please login to merge, or discard this patch.