Completed
Push — master ( 5f7031...0d2867 )
by Propa
02:12
created
src/PhoneValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/LaravelPhoneServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.