@@ -79,7 +79,7 @@ |
||
| 79 | 79 | { |
| 80 | 80 | $meta = $phoneNumberUtil->getMetadataForRegion($code); |
| 81 | 81 | if (!$meta) { |
| 82 | - die('No metadata for ' . $code); |
|
| 82 | + die('No metadata for '.$code); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | $exampleNumber = $phoneNumberUtil->getExampleNumber($code); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | { |
| 72 | 72 | $val = $this->validator->createStringLiteral(); |
| 73 | 73 | |
| 74 | - if($val->isValid()) |
|
| 74 | + if ($val->isValid()) |
|
| 75 | 75 | { |
| 76 | 76 | $this->sourceFormat = strtoupper($val->getToken()->getText()); |
| 77 | 77 | return; |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | { |
| 94 | 94 | $countries = self::getSupportedCountries(); |
| 95 | 95 | |
| 96 | - if(isset($countries[$this->sourceFormat])) { |
|
| 96 | + if (isset($countries[$this->sourceFormat])) { |
|
| 97 | 97 | return; |
| 98 | 98 | } |
| 99 | 99 | |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | */ |
| 113 | 113 | public static function getSupportedCountries() : array |
| 114 | 114 | { |
| 115 | - if(self::$countriesLoaded) { |
|
| 115 | + if (self::$countriesLoaded) { |
|
| 116 | 116 | return self::$supportedCountries; |
| 117 | 117 | } |
| 118 | 118 | |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | $data = FileHelper::parseJSONFile(__DIR__.'/ShowPhone/numbers.json'); |
| 122 | 122 | |
| 123 | - foreach($data as $code => $def) |
|
| 123 | + foreach ($data as $code => $def) |
|
| 124 | 124 | { |
| 125 | 125 | $code = strval($code); |
| 126 | 126 | |