| @@ -33,7 +33,7 @@ | ||
| 33 | 33 | } | 
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | - * @param $content | |
| 36 | + * @param string $content | |
| 37 | 37 | * @param $prefix | 
| 38 | 38 | * | 
| 39 | 39 | * @return string | 
| @@ -54,8 +54,6 @@ discard block | ||
| 54 | 54 | /** | 
| 55 | 55 | * Handles the "add-prefix" command. | 
| 56 | 56 | * | 
| 57 | - * @param Args $args The console arguments. | |
| 58 | - * @param IO $io The I/O. | |
| 59 | 57 | * | 
| 60 | 58 | * @return int Returns 0 on success and a positive integer on error. | 
| 61 | 59 | */ | 
| @@ -86,6 +84,9 @@ discard block | ||
| 86 | 84 | return 0; | 
| 87 | 85 | } | 
| 88 | 86 | |
| 87 | + /** | |
| 88 | + * @param string $prefix | |
| 89 | + */ | |
| 89 | 90 | private function scopeFile($path, $prefix, OutputInterface $output) | 
| 90 | 91 |      { | 
| 91 | 92 | $fileContent = file_get_contents($path); | 
| @@ -27,7 +27,7 @@ | ||
| 27 | 27 |      { | 
| 28 | 28 | $app->command( | 
| 29 | 29 | 'add-prefix prefix path*', | 
| 30 | -            function ($prefix, $path, OutputInterface $output) { | |
| 30 | +            function($prefix, $path, OutputInterface $output) { | |
| 31 | 31 | $handler = new AddPrefixCommandHandler(); | 
| 32 | 32 | $handler->handle($prefix, $path, $output); | 
| 33 | 33 | } |