@@ -53,8 +53,6 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Handles the "add-prefix" command. |
55 | 55 | * |
56 | - * @param Args $args The console arguments. |
|
57 | - * @param IO $io The I/O. |
|
58 | 56 | * |
59 | 57 | * @return int Returns 0 on success and a positive integer on error. |
60 | 58 | */ |
@@ -96,6 +94,9 @@ discard block |
||
96 | 94 | return 0; |
97 | 95 | } |
98 | 96 | |
97 | + /** |
|
98 | + * @param string $prefix |
|
99 | + */ |
|
99 | 100 | private function scopeFiles($prefix, BasicFormatter $formatter) |
100 | 101 | { |
101 | 102 | $count = count($this->finder); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | /* |
4 | 4 | * This file is part of the humbug/php-scoper package. |
5 | 5 | * |
@@ -28,7 +28,7 @@ |
||
28 | 28 | { |
29 | 29 | $app->command( |
30 | 30 | 'add-prefix prefix path*', |
31 | - function ($prefix, $path, OutputInterface $output) { |
|
31 | + function($prefix, $path, OutputInterface $output) { |
|
32 | 32 | $formatter = new BasicFormatter($output); |
33 | 33 | $formatter->outputScopingStart(); |
34 | 34 | $handler = new AddPrefixCommandHandler(); |