@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * |
| 27 | 27 | * @param \Psr\Container\ContainerInterface $container |
| 28 | 28 | * |
| 29 | - * @return \League\Route\ContainerAwareInterface |
|
| 29 | + * @return ContainerAwareTrait |
|
| 30 | 30 | */ |
| 31 | 31 | public function setContainer(ContainerInterface $container) : ContainerAwareInterface |
| 32 | 32 | { |
@@ -65,7 +65,6 @@ |
||
| 65 | 65 | * Handle dispatching of a found route. |
| 66 | 66 | * |
| 67 | 67 | * @param \League\Route\Route $route |
| 68 | - * @param array $vars |
|
| 69 | 68 | * |
| 70 | 69 | * @return void |
| 71 | 70 | */ |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | protected $vars = []; |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param callable $handler |
|
| 49 | + */ |
|
| 47 | 50 | public function __construct(string $method, string $path, $handler) |
| 48 | 51 | { |
| 49 | 52 | $this->method = $method; |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | /** |
| 162 | 162 | * Process all groups, and determine if we are using a group's strategy. |
| 163 | 163 | * |
| 164 | - * @param ?\Psr\Http\Message\ServerRequestInterface $request |
|
| 164 | + * @param \Psr\Http\Message\ServerRequestInterface $request |
|
| 165 | 165 | * |
| 166 | 166 | * @return void |
| 167 | 167 | */ |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * |
| 15 | 15 | * @param \League\Route\Strategy\StrategyInterface $strategy |
| 16 | 16 | * |
| 17 | - * @return \League\Route\Strategy\StrategyAwareInterface |
|
| 17 | + * @return StrategyAwareTrait |
|
| 18 | 18 | */ |
| 19 | 19 | public function setStrategy(StrategyInterface $strategy) : StrategyAwareInterface |
| 20 | 20 | { |