Passed
Push — 1.x ( e5c02b...25fd6e )
by Milwad
01:10 queued 15s
created
src/LaravelValidateServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function boot(): void
56 56
     {
57
-        $countries = config('laravel-validate.phone-country', []);
57
+        $countries = config('laravel-validate.phone-country', [ ]);
58 58
 
59 59
         foreach ($countries as $code => $country) {
60 60
             CountryPhoneCallback::addValidator($code, $country);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
                 Validator::extend(
71 71
                     $rule->getFilenameWithoutExtension(),
72
-                    function ($attribute, $value, $parameters, $validator) use ($className) {
72
+                    function($attribute, $value, $parameters, $validator) use ($className) {
73 73
                         return (new $className($parameters))->passes($attribute, $value);
74 74
                     }
75 75
                 );
Please login to merge, or discard this patch.