Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Taylor Otwell
2012-03-04 22:04:50 -06:00
4 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ class IoC {
// If the resolver is registering as a singleton resolver, we will cache
// the instance of the object in the container so we can resolve it next
// time without having to instantiate a brand new instance.
if (isset(static::$registry[$name]['singleton']))
if (static::$registry[$name]['singleton'])
{
return static::$singletons[$name] = $object;
}