Passed
Push — master ( c06ed7...a21d22 )
by Eric
12:23
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
@@ -16,7 +16,9 @@
 block discarded – undo
16 16
     /**
17 17
      * Country constructor
18 18
      */
19
-    public function __construct(private string $countryCode, private string $countryName, private string $dialingCode) {}
19
+    public function __construct(private string $countryCode, private string $countryName, private string $dialingCode)
20
+    {
21
+}
20 22
 
21 23
     /**
22 24
      * Get country code
Please login to merge, or discard this patch.
src/Api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      *
48 48
      * @see https://numverify.com/product
49 49
      */
50
-    private const HTTP_URL  = 'http://apilayer.net/api';
50
+    private const HTTP_URL = 'http://apilayer.net/api';
51 51
 
52 52
     /**
53 53
      * URL for Numverify's paid plans. ("Basic", "Professional", or "Enterprise")
Please login to merge, or discard this patch.