@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @param string $name component name |
| 50 | 50 | * |
| 51 | - * @return mixed |
|
| 51 | + * @return null|PsrContainerInterface |
|
| 52 | 52 | * |
| 53 | 53 | * @throws NotFoundException |
| 54 | 54 | */ |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | * @param array $map mixed list/map of parameter values (and/or boxed values) |
| 197 | 197 | * @param bool $safe if TRUE, it's considered safe to resolve against parameter names |
| 198 | 198 | * |
| 199 | - * @return array parameters |
|
| 199 | + * @return callable parameters |
|
| 200 | 200 | * |
| 201 | 201 | * @throws ContainerException |
| 202 | 202 | */ |
@@ -173,7 +173,7 @@ |
||
| 173 | 173 | * |
| 174 | 174 | * @param string|callable $name_or_func component name |
| 175 | 175 | * (or callable, if name is left out) |
| 176 | - * @param callable|mixed|mixed[] $func_or_map `function (Type $component, ...) : void` |
|
| 176 | + * @param callable $func_or_map `function (Type $component, ...) : void` |
|
| 177 | 177 | * (or parameter values, if name is left out) |
| 178 | 178 | * @param mixed|mixed[] $map mixed list/map of parameter values and/or boxed values |
| 179 | 179 | * (or unused, if name is left out) |
@@ -2,9 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace mindplay\unbox; |
| 4 | 4 | |
| 5 | -use Closure; |
|
| 6 | 5 | use Psr\Container\ContainerInterface; |
| 7 | -use ReflectionParameter; |
|
| 8 | 6 | |
| 9 | 7 | /** |
| 10 | 8 | * This class provides boostrapping/configuration facilities for creation of `Container` instances. |