@@ -151,6 +151,7 @@ discard block |
||
151 | 151 | * level error is raised and the alias is not added. |
152 | 152 | * |
153 | 153 | * @param string ...$alias The alias to set. |
154 | + * @param string[] $alias |
|
154 | 155 | * @return $this |
155 | 156 | * @since 1.4 Added the ability to pass multiple aliases. |
156 | 157 | */ |
@@ -602,7 +603,7 @@ discard block |
||
602 | 603 | * @param array $defaultArgs The default arguments from {@link Container::makeDefaultArgs()}. |
603 | 604 | * @param array $args The arguments passed into a creation. |
604 | 605 | * @param mixed $instance An object instance if the arguments are being resolved on an already constructed object. |
605 | - * @return array Returns an array suitable to be applied to a function call. |
|
606 | + * @return callable Returns an array suitable to be applied to a function call. |
|
606 | 607 | * @throws MissingArgumentException Throws an exception when a required parameter is missing. |
607 | 608 | */ |
608 | 609 | private function resolveArgs(array $defaultArgs, array $args, $instance = null) { |