Browse Source

Merge pull request #747 from kloy/master

Fixing bug in IoC::resolve
Taylor Otwell 12 years ago
parent
commit
0bdfea32e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/ioc.php

+ 1 - 1
laravel/ioc.php

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