Test Failed
Push — master ( b2466b...ba0a42 )
by P.R.
02:33
created
src/ClubCollectApiClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
    */
347 347
   private function parseResponseBody(ResponseInterface $response): ?array
348 348
   {
349
-    $body = (string)$response->getBody();
349
+    $body = (string) $response->getBody();
350 350
     if (empty($body))
351 351
     {
352 352
       if ($response->getStatusCode()===self::HTTP_NO_CONTENT)
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
       throw new ClubCollectApiException("Unable to decode ClubCollect response: '{$body}'.");
364 364
     }
365 365
 
366
-    if ($response->getStatusCode()>=400)
366
+    if ($response->getStatusCode() >= 400)
367 367
     {
368 368
       throw ClubCollectApiException::createFromResponse($response);
369 369
     }
Please login to merge, or discard this patch.