@@ -105,7 +105,7 @@ |
||
105 | 105 | * Handle the action for the route. |
106 | 106 | * |
107 | 107 | * @param string $path the matched path |
108 | - * @param ContainerInjectableInterface $di container with services |
|
108 | + * @param ContainerInterface $di container with services |
|
109 | 109 | * |
110 | 110 | * @return mixed |
111 | 111 | */ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Anax\Route; |
4 | 4 | |
5 | 5 | use Anax\Commons\ContainerInjectableInterface; |
6 | -use Anax\Route\Exception\ConfigurationException; |
|
7 | 6 | use Psr\Container\ContainerInterface; |
8 | 7 | |
9 | 8 | /** |
@@ -24,9 +24,9 @@ discard block |
||
24 | 24 | * |
25 | 25 | * @param string $method the request method. |
26 | 26 | * @param string $path that was matched. |
27 | - * @param string|array $action base for the callable. |
|
27 | + * @param callable|null $action base for the callable. |
|
28 | 28 | * @param array $arguments optional arguments. |
29 | - * @param ContainerInjectableInterface $di container with services. |
|
29 | + * @param ContainerInterface $di container with services. |
|
30 | 30 | * |
31 | 31 | * @return mixed as the result from the route handler. |
32 | 32 | */ |
@@ -158,7 +158,6 @@ discard block |
||
158 | 158 | * |
159 | 159 | * @param string|array $action base for the callable |
160 | 160 | * @param array $arguments optional arguments |
161 | - * @param ContainerInjectableInterface $di container with services |
|
162 | 161 | * |
163 | 162 | * @return mixed as the result from the route handler. |
164 | 163 | */ |
@@ -198,9 +197,9 @@ discard block |
||
198 | 197 | /** |
199 | 198 | * Load callable as a service from the $di container. |
200 | 199 | * |
201 | - * @param string|array $action base for the callable |
|
200 | + * @param string[] $action base for the callable |
|
202 | 201 | * @param array $arguments optional arguments |
203 | - * @param ContainerInjectableInterface $di container with services |
|
202 | + * @param ContainerInterface $di container with services |
|
204 | 203 | * |
205 | 204 | * @return mixed as the result from the route handler. |
206 | 205 | */ |