@@ -105,7 +105,7 @@ |
||
| 105 | 105 | /** |
| 106 | 106 | * Dispatches the Request URI |
| 107 | 107 | * |
| 108 | - * @return array |
|
| 108 | + * @return ServerRequestInterface |
|
| 109 | 109 | */ |
| 110 | 110 | protected function dispatch(): array |
| 111 | 111 | { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Gets the handler of the route |
| 39 | 39 | * |
| 40 | - * @return mixed |
|
| 40 | + * @return string |
|
| 41 | 41 | */ |
| 42 | 42 | public function getHandler(): string |
| 43 | 43 | { |
@@ -8,18 +8,18 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | interface RouteInfoInterface extends \ArrayAccess |
| 10 | 10 | { |
| 11 | - /** |
|
| 12 | - * Gets the handler defined for the route |
|
| 13 | - * |
|
| 14 | - * @return mixed |
|
| 15 | - */ |
|
| 16 | - public function getHandler(); |
|
| 11 | + /** |
|
| 12 | + * Gets the handler defined for the route |
|
| 13 | + * |
|
| 14 | + * @return mixed |
|
| 15 | + */ |
|
| 16 | + public function getHandler(); |
|
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * Gets a route attribute by name, if not present it will return null |
|
| 20 | - * |
|
| 21 | - * @param string $name Name |
|
| 22 | - * @return string|null |
|
| 23 | - */ |
|
| 24 | - public function get($name): ?string; |
|
| 18 | + /** |
|
| 19 | + * Gets a route attribute by name, if not present it will return null |
|
| 20 | + * |
|
| 21 | + * @param string $name Name |
|
| 22 | + * @return string|null |
|
| 23 | + */ |
|
| 24 | + public function get($name): ?string; |
|
| 25 | 25 | } |
| 26 | 26 | \ No newline at end of file |