@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Handle the action for the route. |
108 | 108 | * |
109 | 109 | * @param string $path the matched path |
110 | - * @param ContainerInjectableInterface $di container with services |
|
110 | + * @param ContainerInterface $di container with services |
|
111 | 111 | * |
112 | 112 | * @return mixed |
113 | 113 | */ |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | /** |
255 | 255 | * Get the handler type as a informative string. |
256 | 256 | * |
257 | - * @param ContainerInjectableInterface $di container with services |
|
257 | + * @param ContainerInterface $di container with services |
|
258 | 258 | * |
259 | 259 | * @return string representing the handler. |
260 | 260 | */ |
@@ -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 | */ |
@@ -72,8 +72,8 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * Get an informative string representing the handler type. |
74 | 74 | * |
75 | - * @param string|array $action base for the callable. |
|
76 | - * @param ContainerInjectableInterface $di container with services. |
|
75 | + * @param callable|null $action base for the callable. |
|
76 | + * @param ContainerInterface $di container with services. |
|
77 | 77 | * |
78 | 78 | * @return string as the type of handler. |
79 | 79 | */ |
@@ -201,7 +201,6 @@ discard block |
||
201 | 201 | * |
202 | 202 | * @param string|array $action base for the callable |
203 | 203 | * @param array $arguments optional arguments |
204 | - * @param ContainerInjectableInterface $di container with services |
|
205 | 204 | * |
206 | 205 | * @return mixed as the result from the route handler. |
207 | 206 | */ |
@@ -241,9 +240,9 @@ discard block |
||
241 | 240 | /** |
242 | 241 | * Load callable as a service from the $di container. |
243 | 242 | * |
244 | - * @param string|array $action base for the callable |
|
243 | + * @param string[] $action base for the callable |
|
245 | 244 | * @param array $arguments optional arguments |
246 | - * @param ContainerInjectableInterface $di container with services |
|
245 | + * @param ContainerInterface $di container with services |
|
247 | 246 | * |
248 | 247 | * @return mixed as the result from the route handler. |
249 | 248 | */ |