@@ -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) { |
@@ -56,6 +56,9 @@ discard block |
||
56 | 56 | return app(ErrorPrinter::class)->hasErrors() ? 1 : 0; |
57 | 57 | } |
58 | 58 | |
59 | + /** |
|
60 | + * @param integer $tries |
|
61 | + */ |
|
59 | 62 | private function fix($filePath, $tokens, $tries) |
60 | 63 | { |
61 | 64 | Refactor::saveTokens($filePath, $tokens, $this->option('test')); |
@@ -73,6 +76,9 @@ discard block |
||
73 | 76 | return [$fixes, $tokens]; |
74 | 77 | } |
75 | 78 | |
79 | + /** |
|
80 | + * @param integer $fixed |
|
81 | + */ |
|
76 | 82 | private function printFinalMsg($fixed) |
77 | 83 | { |
78 | 84 | if ($fixed > 0) { |