@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | */ |
171 | 171 | public function formatForCountry($country) |
172 | 172 | { |
173 | - if (! static::isValidCountryCode($country)) { |
|
173 | + if (!static::isValidCountryCode($country)) { |
|
174 | 174 | throw CountryCodeException::invalid($country); |
175 | 175 | } |
176 | 176 | |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | */ |
191 | 191 | public function formatForMobileDialingInCountry($country, $removeFormatting = false) |
192 | 192 | { |
193 | - if (! static::isValidCountryCode($country)) { |
|
193 | + if (!static::isValidCountryCode($country)) { |
|
194 | 194 | throw CountryCodeException::invalid($country); |
195 | 195 | } |
196 | 196 | |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | */ |
209 | 209 | public function getCountry() |
210 | 210 | { |
211 | - if (! $this->country) { |
|
211 | + if (!$this->country) { |
|
212 | 212 | $this->country = $this->filterValidCountry($this->countries); |
213 | 213 | } |
214 | 214 | |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | protected function filterValidCountry($countries) |
239 | 239 | { |
240 | 240 | $result = Collection::make($countries) |
241 | - ->filter(function ($country) { |
|
241 | + ->filter(function($country) { |
|
242 | 242 | try { |
243 | 243 | $instance = $this->lib->parse($this->number, $country); |
244 | 244 |
@@ -142,11 +142,11 @@ |
||
142 | 142 | $parameters = implode(',', array_merge( |
143 | 143 | $this->countries, |
144 | 144 | $this->parseTypes($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 | } |