Commit d0afdf7b authored by Keith Loy's avatar Keith Loy

fixing bug where parameters are not passed in IoC::resolve()

parent 63b1636d
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment