@@ -48,7 +48,7 @@ |
||
| 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 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 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 |
||
| 51 | 51 | */ |
| 52 | 52 | public function provides() |
| 53 | 53 | { |
| 54 | - return ['laravel-password']; |
|
| 54 | + return [ 'laravel-password' ]; |
|
| 55 | 55 | } |
| 56 | 56 | } |