Passed
Push — master ( 29df4b...b6e888 )
by Eric
02:07
created
src/Api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
239 239
      *
240 240
      * @return ApiCountryJsonArray|ApiJsonArray|stdClass
241 241
      */
242
-    private static function validateAndDecodeResponse(ResponseInterface $response, bool $asArray = false): array|stdClass
242
+    private static function validateAndDecodeResponse(ResponseInterface $response, bool $asArray = false): array | stdClass
243 243
     {
244 244
         // If not 200 ok
245 245
         if ($response->getStatusCode() !== 200) {
Please login to merge, or discard this patch.
src/Country/Country.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,9 @@
 block discarded – undo
31 31
     /**
32 32
      * Country constructor.
33 33
      */
34
-    public function __construct(private string $countryCode, private string $countryName, private string $dialingCode) {}
34
+    public function __construct(private string $countryCode, private string $countryName, private string $dialingCode)
35
+    {
36
+}
35 37
 
36 38
     /**
37 39
      * {@inheritDoc}
Please login to merge, or discard this patch.
src/Country/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * @inheritDoc
105 105
      */
106
-    public function key(): null|int|string
106
+    public function key(): null | int | string
107 107
     {
108 108
         return key($this->byCountryCode);
109 109
     }
Please login to merge, or discard this patch.