@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * as possible. |
160 | 160 | * |
161 | 161 | * @param string $name component name |
162 | - * @param callable|mixed|mixed[]|null $func_or_map_or_type creation function or class-name, or, if the first |
|
162 | + * @param Closure $func_or_map_or_type creation function or class-name, or, if the first |
|
163 | 163 | * argument is a class-name, a map of constructor arguments |
164 | 164 | * @param mixed|mixed[] $map mixed list/map of parameter values (and/or boxed values) |
165 | 165 | * |
@@ -474,7 +474,7 @@ discard block |
||
474 | 474 | * @param ReflectionParameter[] $params parameter reflections |
475 | 475 | * @param mixed|mixed[] $map mixed list/map of parameter values (and/or boxed values) |
476 | 476 | * |
477 | - * @return array parameters |
|
477 | + * @return callable parameters |
|
478 | 478 | * |
479 | 479 | * @throws ContainerException |
480 | 480 | * @throws NotFoundException |