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