Commit 06f27758 by Qiang Xue

Fixed typo. [skip ci]

parent b5ccf3bc
......@@ -160,7 +160,7 @@ class Module extends ServiceLocator
public static function setInstance($instance)
{
if ($instance === null) {
unset(self::$_instances[get_class()]);
unset(self::$_instances[get_called_class()]);
} else {
self::$_instances[get_class($instance)] = $instance;
}
......
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