|
@@ -114,7 +114,7 @@ class IoC {
|
|
|
// its nested dependencies recursively until they are each resolved.
|
|
|
if ($concrete == $type or $concrete instanceof Closure)
|
|
|
{
|
|
|
- $object = static::build($concrete);
|
|
|
+ $object = static::build($concrete, $parameters);
|
|
|
}
|
|
|
else
|
|
|
{
|