@@ -36,12 +36,12 @@ discard block  | 
                                                    ||
| 36 | 36 | */  | 
                                                        
| 37 | 37 | public function boot()  | 
                                                        
| 38 | 38 |      { | 
                                                        
| 39 | -        Validator::extend('dumbpwd', function ($attribute, $value, $parameters, $validator) { | 
                                                        |
| 40 | - $path = realpath(__DIR__ . '/../resources/config/passwordlist.txt');  | 
                                                        |
| 39 | +        Validator::extend('dumbpwd', function($attribute, $value, $parameters, $validator) { | 
                                                        |
| 40 | + $path = realpath(__DIR__.'/../resources/config/passwordlist.txt');  | 
                                                        |
| 41 | 41 | $cache_key = md5_file($path);  | 
                                                        
| 42 | -            $data = Cache::rememberForever('dumbpwd_list_' . $cache_key, function () use ($path) { | 
                                                        |
| 42 | +            $data = Cache::rememberForever('dumbpwd_list_'.$cache_key, function() use ($path) { | 
                                                        |
| 43 | 43 |                  return collect(explode("\n", file_get_contents($path))) | 
                                                        
| 44 | -                    ->map(function ($password) { | 
                                                        |
| 44 | +                    ->map(function($password) { | 
                                                        |
| 45 | 45 | return strtolower($password);  | 
                                                        
| 46 | 46 | });  | 
                                                        
| 47 | 47 | });  | 
                                                        
@@ -64,6 +64,6 @@ discard block  | 
                                                    ||
| 64 | 64 | */  | 
                                                        
| 65 | 65 | public function provides()  | 
                                                        
| 66 | 66 |      { | 
                                                        
| 67 | - return ['laravel-password'];  | 
                                                        |
| 67 | + return [ 'laravel-password' ];  | 
                                                        |
| 68 | 68 | }  | 
                                                        
| 69 | 69 | }  |