@@ -143,7 +143,7 @@ |
||
| 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"} |
@@ -16,7 +16,9 @@ |
||
| 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 |
@@ -47,7 +47,7 @@ |
||
| 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") |