@@ -10,6 +10,9 @@ discard block |
||
10 | 10 | |
11 | 11 | class RoutelessActions |
12 | 12 | { |
13 | + /** |
|
14 | + * @param \Imanghafoori\LaravelMicroscope\ErrorReporters\ErrorPrinter $errorPrinter |
|
15 | + */ |
|
13 | 16 | public function check($errorPrinter) |
14 | 17 | { |
15 | 18 | $psr4 = ComposerJson::readKey('autoload.psr-4'); |
@@ -99,6 +102,9 @@ discard block |
||
99 | 102 | return $routelessActions; |
100 | 103 | } |
101 | 104 | |
105 | + /** |
|
106 | + * @param string $fullNamespace |
|
107 | + */ |
|
102 | 108 | private function checkControllerActionsForRoutes($errorPrinter, $fullNamespace, $tokens, $absFilePath) |
103 | 109 | { |
104 | 110 | if ($this->isLaravelController($fullNamespace)) { |
@@ -67,6 +67,9 @@ |
||
67 | 67 | } |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @param ErrorPrinter $errorPrinter |
|
72 | + */ |
|
70 | 73 | private function checkRouteDefinitions($errorPrinter, $routes) |
71 | 74 | { |
72 | 75 | foreach ($routes as $route) { |