overall code quality audit.

This commit is contained in:
Taylor Otwell
2012-01-25 15:31:04 -06:00
parent 45969e3593
commit af170af12d
11 changed files with 11 additions and 92 deletions

View File

@@ -124,11 +124,6 @@ class IoC {
return static::$singletons[$name];
}
if ( ! static::registered($name))
{
throw new \Exception("Error resolving [$name]. No resolver has been registered.");
}
$object = call_user_func(static::$registry[$name]['resolver'], $parameters);
// If the resolver is registering as a singleton resolver, we will cache