@@ -209,7 +209,7 @@ |
||
| 209 | 209 | * Determine the matched route from either the router or namedRoute |
| 210 | 210 | * Returns false no route could be matched (ideally the response should be returned in this instance - fail fast) |
| 211 | 211 | * @throws Route\NoMatchException|\Exception |
| 212 | - * @return RouteMetaData|false $route |
|
| 212 | + * @return RouteMetaData $route |
|
| 213 | 213 | */ |
| 214 | 214 | protected function determineRoute() |
| 215 | 215 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | 155 | * Get the regex pattern to match the request path |
| 156 | - * @param $basePath |
|
| 156 | + * @param string|null $basePath |
|
| 157 | 157 | * @return string |
| 158 | 158 | */ |
| 159 | 159 | protected function getMatchRegexPattern($basePath) |
@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | |
| 195 | 195 | /** |
| 196 | 196 | * Process the route names and add them as parameters |
| 197 | - * @param array $paramValues |
|
| 197 | + * @param string[] $paramValues |
|
| 198 | 198 | */ |
| 199 | 199 | protected function processRouteParams(array $paramValues) |
| 200 | 200 | { |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | 230 | * Ensure our method is in out list of allowed verbs |
| 231 | - * @param $httpMethod |
|
| 231 | + * @param string $httpMethod |
|
| 232 | 232 | * @return bool |
| 233 | 233 | */ |
| 234 | 234 | protected function methodIsInOurListOfAllowedVerbs($httpMethod) |