@@ -346,7 +346,7 @@ discard block |
||
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 |
||
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 | } |