Passed
Push — master ( 2580ba...f9be08 )
by Tomáš
14:54
created
src/Definitions/Currency.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     /**
160 160
      * Lira
161 161
      */
162
-    public const TRY = 'TRY';
162
+    public const try = 'TRY';
163 163
 
164 164
     /**
165 165
      * Dolar
Please login to merge, or discard this patch.
src/Service/DefaultSettingService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /** @inheritDoc */
95 95
     public function getZipCodes(string $carrier, string $service, ?string $country = null): ZipCodeIterator
96 96
     {
97
-        $response = $this->client->call(Version::V2V1, $carrier, Method::ZIP_CODES, path: sprintf('%s/%s', $service, $country));
97
+        $response = $this->client->call(Version::V2V1, $carrier, Method::ZIP_CODES, path : sprintf('%s/%s', $service, $country));
98 98
 
99 99
         return $this->zipCodeFactory->createIterator($carrier, $service, $country, $response);
100 100
     }
Please login to merge, or discard this patch.
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.
src/Model/Branch/DefaultBranchIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     public function __construct(
20 20
         private readonly ?string $carrier,
21 21
         private readonly ?string $service,
22
-        private readonly ?array $countries,
22
+        private readonly ? array $countries,
23 23
         Traversable $iterator,
24 24
     ) {
25 25
         parent::__construct($iterator);
Please login to merge, or discard this patch.