@@ -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 | } |
@@ -168,7 +168,7 @@ |
||
168 | 168 | protected function parseTypes(array $types) |
169 | 169 | { |
170 | 170 | // Transform types to their namespaced class constant. |
171 | - array_walk($types, function (&$type) { |
|
171 | + array_walk($types, function(&$type) { |
|
172 | 172 | $type = constant($this->constructPhoneTypeConstant($type)); |
173 | 173 | }); |
174 | 174 |
@@ -117,7 +117,7 @@ |
||
117 | 117 | * When using a country field, we should validate to false if country is empty so no exception |
118 | 118 | * will be thrown. |
119 | 119 | * |
120 | - * @param $attribute |
|
120 | + * @param string $attribute |
|
121 | 121 | * @param $validator |
122 | 122 | * @throws \Propaganistas\LaravelPhone\Exceptions\NoValidCountryFoundException |
123 | 123 | */ |