@@ -571,7 +571,7 @@ |
||
571 | 571 | * @param array $defaultArgs The default arguments from {@link Container::makeDefaultArgs()}. |
572 | 572 | * @param array $args The arguments passed into a creation. |
573 | 573 | * @param mixed $instance An object instance if the arguments are being resolved on an already constructed object. |
574 | - * @return array Returns an array suitable to be applied to a function call. |
|
574 | + * @return callable Returns an array suitable to be applied to a function call. |
|
575 | 575 | * @throws MissingArgumentException Throws an exception when a required parameter is missing. |
576 | 576 | */ |
577 | 577 | private function resolveArgs(array $defaultArgs, array $args, $instance = null) { |