Merge pull request #747 from kloy/master

Fixing bug in IoC::resolve
This commit is contained in:
Taylor Otwell
2012-06-03 15:33:07 -07:00

View File

@@ -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
{