@@ -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 | } |
@@ -126,7 +126,7 @@ |
||
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 | } |