@@ -279,7 +279,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | { |
| 103 | 103 | $list[] = $this->getResourceObject($import); |
| 104 | 104 | } |
| 105 | - } while ($page<($to ?? $result['page']['total_pages'])); |
|
| 105 | + } while ($page < ($to ?? $result['page']['total_pages'])); |
|
| 106 | 106 | |
| 107 | 107 | return $list; |
| 108 | 108 | } |