Fixed typo. [skip ci]

This commit is contained in:
Qiang Xue
2014-06-27 09:23:09 -04:00
parent b5ccf3bc04
commit 06f27758b3

View File

@@ -160,7 +160,7 @@ class Module extends ServiceLocator
public static function setInstance($instance) public static function setInstance($instance)
{ {
if ($instance === null) { if ($instance === null) {
unset(self::$_instances[get_class()]); unset(self::$_instances[get_called_class()]);
} else { } else {
self::$_instances[get_class($instance)] = $instance; self::$_instances[get_class($instance)] = $instance;
} }