@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * |
| 72 | 72 | * @param string $name component name |
| 73 | 73 | * |
| 74 | - * @return mixed |
|
| 74 | + * @return Container |
|
| 75 | 75 | * |
| 76 | 76 | * @throws ContainerException |
| 77 | 77 | * @throws NotFoundException |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | * @param array $map mixed list/map of parameter values (and/or boxed values) |
| 193 | 193 | * @param bool $safe if TRUE, it's considered safe to resolve against parameter names |
| 194 | 194 | * |
| 195 | - * @return array parameters |
|
| 195 | + * @return callable parameters |
|
| 196 | 196 | * |
| 197 | 197 | * @throws ContainerException |
| 198 | 198 | * @throws NotFoundException |
@@ -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 | * |