Completed
Pull Request — master (#9)
by Rasmus
02:22
created
src/Container.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/ContainerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.