Completed
Pull Request — master (#12)
by
unknown
01:47
created
src/DumbPasswordServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $path = realpath(__DIR__.'/../resources/config/passwordlist.txt');
32 32
         $data = collect(explode("\n", file_get_contents($path)));
33 33
 
34
-        Validator::extend('dumbpwd', function ($attribute, $value, $parameters, $validator) use ($data) {
34
+        Validator::extend('dumbpwd', function($attribute, $value, $parameters, $validator) use ($data) {
35 35
             return !$data->contains($value);
36 36
         }, $this->message);
37 37
     }
@@ -51,6 +51,6 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function provides()
53 53
     {
54
-        return ['laravel-password'];
54
+        return [ 'laravel-password' ];
55 55
     }
56 56
 }
Please login to merge, or discard this patch.