@@ -626,7 +626,7 @@ public function factory($abstract)
626626 /**
627627 * An alias function name for make().
628628 *
629- * @param string $abstract
629+ * @param string|callable $abstract
630630 * @param array $parameters
631631 * @return mixed
632632 *
@@ -640,7 +640,7 @@ public function makeWith($abstract, array $parameters = [])
640640 /**
641641 * Resolve the given type from the container.
642642 *
643- * @param string $abstract
643+ * @param string|callable $abstract
644644 * @param array $parameters
645645 * @return mixed
646646 *
@@ -670,7 +670,7 @@ public function get($id)
670670 /**
671671 * Resolve the given type from the container.
672672 *
673- * @param string $abstract
673+ * @param string|callable $abstract
674674 * @param array $parameters
675675 * @param bool $raiseEvents
676676 * @return mixed
@@ -745,7 +745,7 @@ protected function resolve($abstract, $parameters = [], $raiseEvents = true)
745745 /**
746746 * Get the concrete type for a given abstract.
747747 *
748- * @param string $abstract
748+ * @param string|callable $abstract
749749 * @return mixed
750750 */
751751 protected function getConcrete ($ abstract )
@@ -763,7 +763,7 @@ protected function getConcrete($abstract)
763763 /**
764764 * Get the contextual concrete binding for the given abstract.
765765 *
766- * @param string $abstract
766+ * @param string|callable $abstract
767767 * @return \Closure|string|array|null
768768 */
769769 protected function getContextualConcrete ($ abstract )
@@ -789,7 +789,7 @@ protected function getContextualConcrete($abstract)
789789 /**
790790 * Find the concrete binding for the given abstract in the contextual binding array.
791791 *
792- * @param string $abstract
792+ * @param string|callable $abstract
793793 * @return \Closure|string|null
794794 */
795795 protected function findInContextualBindings ($ abstract )
0 commit comments