@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | 56 | * Get the services provided by the provider |
| 57 | - * @return array |
|
| 57 | + * @return string[] |
|
| 58 | 58 | */ |
| 59 | 59 | public function provides() |
| 60 | 60 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | /** |
| 65 | 65 | * Generates a dictionary from the file referenced by the path specified |
| 66 | 66 | * |
| 67 | - * @param $path |
|
| 67 | + * @param string $path |
|
| 68 | 68 | * |
| 69 | 69 | * @return array |
| 70 | 70 | */ |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | */ |
| 59 | 59 | public function provides() |
| 60 | 60 | { |
| 61 | - return ['laravel-password']; |
|
| 61 | + return [ 'laravel-password' ]; |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -70,12 +70,12 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | private function generateDictionary($path) |
| 72 | 72 | { |
| 73 | - $dictionary = []; |
|
| 73 | + $dictionary = [ ]; |
|
| 74 | 74 | |
| 75 | 75 | $handle = fopen($path, "r"); |
| 76 | 76 | if ($handle) { |
| 77 | 77 | while (($line = fgets($handle)) !== false) { |
| 78 | - $dictionary[trim($line)] = true; |
|
| 78 | + $dictionary[ trim($line) ] = true; |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | fclose($handle); |