@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * @param mixed $action null, string or callable to implement a |
50 | 50 | * controller for the route |
51 | 51 | * |
52 | - * @return class as new route |
|
52 | + * @return Route as new route |
|
53 | 53 | */ |
54 | 54 | public function add($rule, $action = null) |
55 | 55 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @param mixed $action null, string or callable to implement a |
67 | 67 | * controller for the route |
68 | 68 | * |
69 | - * @return class as new route |
|
69 | + * @return Route as new route |
|
70 | 70 | */ |
71 | 71 | public function any($method, $rule, $action = null) |
72 | 72 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * @param mixed $action null, string or callable to implement a |
87 | 87 | * controller for the route |
88 | 88 | * |
89 | - * @return class as new route |
|
89 | + * @return Route as new route |
|
90 | 90 | */ |
91 | 91 | public function get($rule, $action = null) |
92 | 92 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * @param mixed $action null, string or callable to implement a |
103 | 103 | * controller for the route |
104 | 104 | * |
105 | - * @return class as new route |
|
105 | + * @return Route as new route |
|
106 | 106 | */ |
107 | 107 | public function post($rule, $action = null) |
108 | 108 | { |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * @param mixed $action null, string or callable to implement a |
119 | 119 | * controller for the route |
120 | 120 | * |
121 | - * @return class as new route |
|
121 | + * @return Route as new route |
|
122 | 122 | */ |
123 | 123 | public function put($rule, $action = null) |
124 | 124 | { |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * @param mixed $action null, string or callable to implement a |
135 | 135 | * controller for the route |
136 | 136 | * |
137 | - * @return class as new route |
|
137 | + * @return Route as new route |
|
138 | 138 | */ |
139 | 139 | public function delete($rule, $action = null) |
140 | 140 | { |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * @param string $rule for this route |
150 | 150 | * @param mixed $action null, string or callable to implement a controller for the route |
151 | 151 | * |
152 | - * @return class as new route |
|
152 | + * @return Route as new route |
|
153 | 153 | */ |
154 | 154 | public function addInternal($rule, $action = null) |
155 | 155 | { |
@@ -165,8 +165,6 @@ discard block |
||
165 | 165 | * Add an internal (not exposed to url-matching) route to the router. |
166 | 166 | * |
167 | 167 | * @param string $rule for this route |
168 | - * @param mixed $action null, string or callable to implement a |
|
169 | - * controller for the route |
|
170 | 168 | * |
171 | 169 | * @return void |
172 | 170 | */ |
@@ -185,7 +183,7 @@ discard block |
||
185 | 183 | /** |
186 | 184 | * Get the route for the last route that was handled. |
187 | 185 | * |
188 | - * @return mixed |
|
186 | + * @return string |
|
189 | 187 | */ |
190 | 188 | public function getLastRoute() |
191 | 189 | { |