Completed
Push — master ( 27937e...bdb326 )
by Rasmus
22:58 queued 22:58
created
src/Container.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * as possible.
160 160
      *
161 161
      * @param string                      $name                component name
162
-     * @param callable|mixed|mixed[]|null $func_or_map_or_type creation function or class-name, or, if the first
162
+     * @param Closure $func_or_map_or_type creation function or class-name, or, if the first
163 163
      *                                                         argument is a class-name, a map of constructor arguments
164 164
      * @param mixed|mixed[]               $map                 mixed list/map of parameter values (and/or boxed values)
165 165
      *
@@ -474,7 +474,7 @@  discard block
 block discarded – undo
474 474
      * @param ReflectionParameter[] $params parameter reflections
475 475
      * @param mixed|mixed[]         $map    mixed list/map of parameter values (and/or boxed values)
476 476
      *
477
-     * @return array parameters
477
+     * @return callable parameters
478 478
      *
479 479
      * @throws ContainerException
480 480
      * @throws NotFoundException
Please login to merge, or discard this patch.