@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | * |
255 | 255 | * @return ($asArray is true ? ApiCountryJsonArray|ApiJsonArray : InvalidPhoneNumberObject|ValidPhoneNumberObject) |
256 | 256 | */ |
257 | - private function validateAndDecodeResponse(ResponseInterface $response, bool $asArray = false): array|stdClass |
|
257 | + private function validateAndDecodeResponse(ResponseInterface $response, bool $asArray = false): array | stdClass |
|
258 | 258 | { |
259 | 259 | // If not 200 ok |
260 | 260 | if ($response->getStatusCode() !== 200) { |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | /** |
277 | 277 | * @param ApiCountryJsonArray|ApiJsonArray|InvalidPhoneNumberObject|ValidPhoneNumberObject $body |
278 | 278 | */ |
279 | - private function verifySuccess(array|stdClass $body): bool |
|
279 | + private function verifySuccess(array | stdClass $body): bool |
|
280 | 280 | { |
281 | 281 | if (!\is_array($body)) { |
282 | 282 | $body = (array) $body; |