Passed
Push — master ( 2d3544...07b72c )
by Eric
02:20
created
src/Api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.