@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * as possible. |
| 55 | 55 | * |
| 56 | 56 | * @param string $name component name |
| 57 | - * @param callable|mixed|mixed[]|null $func_or_map_or_type creation function or class-name, or, if the first |
|
| 57 | + * @param Closure $func_or_map_or_type creation function or class-name, or, if the first |
|
| 58 | 58 | * argument is a class-name, a map of constructor arguments |
| 59 | 59 | * @param mixed|mixed[] $map mixed list/map of parameter values (and/or boxed values) |
| 60 | 60 | * |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @param string $name component name |
| 42 | 42 | * |
| 43 | - * @return mixed |
|
| 43 | + * @return Container |
|
| 44 | 44 | * |
| 45 | 45 | * @throws NotFoundException |
| 46 | 46 | */ |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * @param array $map mixed list/map of parameter values (and/or boxed values) |
| 163 | 163 | * @param bool $safe if TRUE, it's considered safe to resolve against parameter names |
| 164 | 164 | * |
| 165 | - * @return array parameters |
|
| 165 | + * @return callable parameters |
|
| 166 | 166 | * |
| 167 | 167 | * @throws ContainerException |
| 168 | 168 | */ |