@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | */ |
22 | 22 | public static function isValidFormat($format) |
23 | 23 | { |
24 | - return ! is_null(static::parseFormat($format)); |
|
24 | + return !is_null(static::parseFormat($format)); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | private static function loadFormats() |
50 | 50 | { |
51 | - if (! static::$formats) { |
|
51 | + if (!static::$formats) { |
|
52 | 52 | static::$formats = with(new ReflectionClass(PhoneNumberFormat::class))->getConstants(); |
53 | 53 | } |
54 | 54 | } |
@@ -142,11 +142,11 @@ |
||
142 | 142 | $parameters = implode(',', array_merge( |
143 | 143 | $this->countries, |
144 | 144 | $this->types, |
145 | - ($this->countryField ? [$this->countryField]: []), |
|
145 | + ($this->countryField ? [$this->countryField] : []), |
|
146 | 146 | ($this->detect ? ['AUTO'] : []), |
147 | 147 | ($this->lenient ? ['LENIENT'] : []) |
148 | 148 | )); |
149 | 149 | |
150 | - return 'phone' . (! empty($parameters) ? ":$parameters" : ''); |
|
150 | + return 'phone'.(!empty($parameters) ? ":$parameters" : ''); |
|
151 | 151 | } |
152 | 152 | } |
153 | 153 | \ No newline at end of file |