Completed
Push — master ( 209aa4...99b4c1 )
by Todd
01:48
created
src/Container.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,6 +151,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.