diff --git a/Singleton/Singleton.php b/Singleton/Singleton.php index ab1e284..d7e9bdc 100644 --- a/Singleton/Singleton.php +++ b/Singleton/Singleton.php @@ -26,7 +26,7 @@ class Singleton * * @return Singleton */ - public function getInstance() + public static function getInstance() { if (null === self::$_instance) { self::$_instance = new self();