@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | * @param string $targetHttpMethod The HTTP method that must not be checked |
232 | 232 | * @param string $path The Path that must be matched. |
233 | 233 | * |
234 | - * @return array |
|
234 | + * @return string |
|
235 | 235 | */ |
236 | 236 | |
237 | 237 | protected function checkStaticRouteInOtherMethods($targetHttpMethod, $path) |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | * @param string $targetHttpMethod The HTTP method that must not be checked |
248 | 248 | * @param string $path The Path that must be matched. |
249 | 249 | * |
250 | - * @return array |
|
250 | + * @return string |
|
251 | 251 | */ |
252 | 252 | |
253 | 253 | protected function checkDynamicRouteInOtherMethods($targetHttpMethod, $path) |
@@ -261,6 +261,7 @@ discard block |
||
261 | 261 | * Strip the given http methods and return all the others. |
262 | 262 | * |
263 | 263 | * @param string|string[] |
264 | + * @param string $targetHttpMethod |
|
264 | 265 | * @return array |
265 | 266 | */ |
266 | 267 |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | } |
386 | 386 | |
387 | 387 | /** |
388 | - * @return string|null |
|
388 | + * @return string |
|
389 | 389 | */ |
390 | 390 | |
391 | 391 | public function getStrategy() |
@@ -558,7 +558,7 @@ discard block |
||
558 | 558 | |
559 | 559 | /** |
560 | 560 | * @param string $key |
561 | - * @param mixed $value |
|
561 | + * @param string $value |
|
562 | 562 | * |
563 | 563 | * @return $this |
564 | 564 | */ |