@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | $this->allowedCountries = ['ZZ']; |
162 | 162 | } // Else use the supplied parameters. |
163 | 163 | else { |
164 | - $this->allowedCountries = array_filter($this->parameters, function ($item) { |
|
164 | + $this->allowedCountries = array_filter($this->parameters, function($item) { |
|
165 | 165 | return $this->isPhoneCountry($item); |
166 | 166 | }); |
167 | 167 | |
@@ -177,12 +177,12 @@ discard block |
||
177 | 177 | protected function determineTypes() |
178 | 178 | { |
179 | 179 | // Get phone types. |
180 | - $this->untransformedTypes = array_filter($this->parameters, function ($item) { |
|
180 | + $this->untransformedTypes = array_filter($this->parameters, function($item) { |
|
181 | 181 | return $this->isPhoneType($item); |
182 | 182 | }); |
183 | 183 | |
184 | 184 | // Transform valid types to their namespaced class constant. |
185 | - $this->allowedTypes = array_map(function ($item) { |
|
185 | + $this->allowedTypes = array_map(function($item) { |
|
186 | 186 | return constant($this->constructPhoneTypeConstant($item)); |
187 | 187 | }, $this->untransformedTypes); |
188 | 188 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | public function register() |
32 | 32 | { |
33 | 33 | // Make libphonenumber available in the application container. |
34 | - $this->app->singleton('libphonenumber', function ($app) { |
|
34 | + $this->app->singleton('libphonenumber', function($app) { |
|
35 | 35 | return PhoneNumberUtil::getInstance(); |
36 | 36 | }); |
37 | 37 | } |