@@ -68,6 +68,9 @@ discard block |
||
68 | 68 | $this->printFinalMsg($fixedFilesCount); |
69 | 69 | } |
70 | 70 | |
71 | + /** |
|
72 | + * @param integer $tries |
|
73 | + */ |
|
71 | 74 | private function fix($filePath, $tokens, $tries) |
72 | 75 | { |
73 | 76 | Refactor::saveTokens($filePath, $tokens, $this->option('test')); |
@@ -85,6 +88,9 @@ discard block |
||
85 | 88 | return [$fixes, $tokens]; |
86 | 89 | } |
87 | 90 | |
91 | + /** |
|
92 | + * @param integer $fixed |
|
93 | + */ |
|
88 | 94 | private function printFinalMsg($fixed) |
89 | 95 | { |
90 | 96 | if ($fixed > 0) { |
@@ -60,6 +60,9 @@ |
||
60 | 60 | return 'Error on route '.$msg; |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param ErrorPrinter $errorPrinter |
|
65 | + */ |
|
63 | 66 | private function checkRouteDefinitions($errorPrinter, $routes) |
64 | 67 | { |
65 | 68 | foreach ($routes as $route) { |