Passed
Push — master ( 699988...c61d07 )
by Tomáš
13:57 queued 01:02
created
src/Model/Service/DefaultService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
         private readonly string $type,
22 22
         private readonly ?string $name,
23 23
         private readonly ?ServiceOptionCollection $options = null,
24
-        private readonly ?array $countries = null,
25
-        private readonly ?array $codCountries = null,
24
+        private readonly ? array $countries = null,
25
+        private readonly ? array $codCountries = null,
26 26
     ) {
27 27
     }
28 28
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             'name' => $this->name,
62 62
             'options' => $this->options?->__toArray(),
63 63
             'countries' => $this->countries,
64
-            'codCountries' => $this->codCountries !== null ? array_map(static fn (CodCountry $country): array => $country->__toArray(), $this->codCountries)
64
+            'codCountries' => $this->codCountries !== null ? array_map(static fn (CodCountry $country) : array => $country->__toArray(), $this->codCountries)
65 65
                 : null,
66 66
         ];
67 67
     }
Please login to merge, or discard this patch.