@@ -27,6 +27,10 @@ |
||
27 | 27 | { |
28 | 28 | |
29 | 29 | abstract public function getWildcards(); |
30 | + |
|
31 | + /** |
|
32 | + * @return Reflector |
|
33 | + */ |
|
30 | 34 | abstract public function set($method, $pattern, $action); |
31 | 35 | |
32 | 36 | /** |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | * @param string $targetHttpMethod The HTTP method that must not be checked |
247 | 247 | * @param string $path The Path that must be matched. |
248 | 248 | * |
249 | - * @return array |
|
249 | + * @return string |
|
250 | 250 | */ |
251 | 251 | |
252 | 252 | protected function checkDynamicRouteInOtherMethods($targetHttpMethod, $path) |
@@ -260,6 +260,7 @@ discard block |
||
260 | 260 | * Strip the given http methods and return all the others. |
261 | 261 | * |
262 | 262 | * @param array|string |
263 | + * @param string $targetHttpMethod |
|
263 | 264 | * @return array |
264 | 265 | */ |
265 | 266 |