Passed
Push — master ( 685240...d7be5e )
by Eric
01:56
created
tests/ApiCountryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     ): Api&MockObject {
144 144
         // Create a mock
145 145
         $mockHandler ??= new MockHandler([
146
-            new Response(200, body: '{
146
+            new Response(200, body : '{
147 147
                 "JP":{"country_name":"Japan","dialling_code":"+81"},
148 148
                 "GB":{"country_name":"United Kingdom","dialling_code":"+44"},
149 149
                 "US":{"country_name":"United States","dialling_code":"+1"}
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
@@ -30,7 +30,9 @@
 block discarded – undo
30 30
     /**
31 31
      * Country constructor.
32 32
      */
33
-    public function __construct(private string $countryCode, private string $countryName, private string $dialingCode) {}
33
+    public function __construct(private string $countryCode, private string $countryName, private string $dialingCode)
34
+    {
35
+}
34 36
 
35 37
     /**
36 38
      * Get country code.
Please login to merge, or discard this patch.