commit
0bdfea32e7
|
@ -114,7 +114,7 @@ public static function resolve($type, $parameters = array())
|
||||||
// its nested dependencies recursively until they are each resolved.
|
// its nested dependencies recursively until they are each resolved.
|
||||||
if ($concrete == $type or $concrete instanceof Closure)
|
if ($concrete == $type or $concrete instanceof Closure)
|
||||||
{
|
{
|
||||||
$object = static::build($concrete);
|
$object = static::build($concrete, $parameters);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue