@@ -28,6 +28,9 @@ discard block |
||
28 | 28 | } |
29 | 29 | } |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $fullNamespace |
|
33 | + */ |
|
31 | 34 | protected static function checkActions($tokens, $fullNamespace, $path) |
32 | 35 | { |
33 | 36 | $class = ClassMethods::read($tokens); |
@@ -73,6 +76,9 @@ discard block |
||
73 | 76 | return $routelessActions; |
74 | 77 | } |
75 | 78 | |
79 | + /** |
|
80 | + * @param \Illuminate\Routing\Route $route |
|
81 | + */ |
|
76 | 82 | protected static function getMsg($methods, $route) |
77 | 83 | { |
78 | 84 | $msg = '/**'."\n"; |
@@ -40,6 +40,9 @@ discard block |
||
40 | 40 | return $namespace.'\\'.$className; |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param string $fullNamespace |
|
45 | + */ |
|
43 | 46 | public static function isLaravelController($fullNamespace) |
44 | 47 | { |
45 | 48 | try { |
@@ -57,6 +60,9 @@ discard block |
||
57 | 60 | return trim($fullNamespace, '.php'); |
58 | 61 | } |
59 | 62 | |
63 | + /** |
|
64 | + * @param string $fullNamespace |
|
65 | + */ |
|
60 | 66 | protected function findOrphanActions($tokens, $fullNamespace) |
61 | 67 | { |
62 | 68 | $class = ClassMethods::read($tokens); |