Completed
Pull Request — master (#19)
by Rasmus
01:31
created
src/Container.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/ContainerFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.