@@ -88,9 +88,9 @@ discard block |
||
| 88 | 88 | * Check if value is matching a certain type of values. |
| 89 | 89 | * |
| 90 | 90 | * @param string $value the value to check. |
| 91 | - * @param array $type the expected type to check against. |
|
| 91 | + * @param string $type the expected type to check against. |
|
| 92 | 92 | * |
| 93 | - * @return boolean |
|
| 93 | + * @return boolean|null |
|
| 94 | 94 | */ |
| 95 | 95 | private function checkPartMatchingType($value, $type) |
| 96 | 96 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * conversion accordingly. |
| 124 | 124 | * |
| 125 | 125 | * @param string $value the value to check. |
| 126 | - * @param array $type the expected type to check against. |
|
| 126 | + * @param string|null $type the expected type to check against. |
|
| 127 | 127 | * |
| 128 | 128 | * @return boolean |
| 129 | 129 | */ |
@@ -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 | */ |
@@ -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 | */ |