Completed
Pull Request — master (#12)
by
unknown
01:47
created
src/DumbPasswordServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Get the services provided by the provider.
50 50
      * 
51
-     * @return array
51
+     * @return string[]
52 52
      */
53 53
     public function provides()
54 54
     {
Please login to merge, or discard this 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.