@@ -279,7 +279,7 @@ |
||
279 | 279 | * |
280 | 280 | * @param string $val The value to encode or leave raw. |
281 | 281 | * |
282 | - * @return mixed |
|
282 | + * @return string|null |
|
283 | 283 | * |
284 | 284 | */ |
285 | 285 | protected function encode($val) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param string $basepath A basepath to prefix to the route path. |
56 | 56 | * |
57 | - * @return bool |
|
57 | + * @return integer |
|
58 | 58 | * |
59 | 59 | */ |
60 | 60 | public function match(Route $route, $path, $basepath = null) |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * |
102 | 102 | * Gets the replacement for optional params in the regex. |
103 | 103 | * |
104 | - * @param array $list The optional params. |
|
104 | + * @param string $list The optional params. |
|
105 | 105 | * |
106 | 106 | * @return string |
107 | 107 | * |
@@ -527,7 +527,7 @@ |
||
527 | 527 | * |
528 | 528 | * @param string $regex The regex to match against. |
529 | 529 | * |
530 | - * @return array |
|
530 | + * @return string[] |
|
531 | 531 | * |
532 | 532 | */ |
533 | 533 | protected function isServerMatchRegex($server, $name, $regex) |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace Aura\Router; |
10 | 10 | |
11 | 11 | use ArrayObject; |
12 | -use Closure; |
|
13 | 12 | |
14 | 13 | /** |
15 | 14 | * |