@@ -31,7 +31,6 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Sets not found handler |
| 33 | 33 | * |
| 34 | - * @param ParsedRoute $route Instance of found parsed route |
|
| 35 | 34 | * |
| 36 | 35 | * @return self for fluent interface |
| 37 | 36 | */ |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | * @param mixed $handler handler that should be executed |
| 231 | 231 | * @param mixed $matches found matched variables |
| 232 | 232 | |
| 233 | - * @return mixed |
|
| 233 | + * @return string |
|
| 234 | 234 | */ |
| 235 | 235 | private function resolveNamespace($parameters, $handler, $matches) |
| 236 | 236 | { |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | /** |
| 324 | 324 | * Get names of parameters for provided class and method |
| 325 | 325 | * |
| 326 | - * @param class $class name of class |
|
| 326 | + * @param string $class name of class |
|
| 327 | 327 | * @param string $methodName name of method |
| 328 | 328 | * |
| 329 | 329 | * @return array |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * @param mixed $matches parameters from request |
| 112 | 112 | * @param mixed $parameters expected parameters from route |
| 113 | 113 | * |
| 114 | - * @return array Parameters in right order, if there are not any |
|
| 114 | + * @return callable Parameters in right order, if there are not any |
|
| 115 | 115 | * parametrs an empty array is returned. |
| 116 | 116 | */ |
| 117 | 117 | private function getFunctionArguments($paramMap, $matches, $parameters) |
@@ -78,7 +78,6 @@ |
||
| 78 | 78 | /** |
| 79 | 79 | * Sets placeholders extracted from route. |
| 80 | 80 | * |
| 81 | - * @param mixed $parameters |
|
| 82 | 81 | * |
| 83 | 82 | * @return self for fluent interface |
| 84 | 83 | */ |