omitted static declaration

This commit is contained in:
Alexey
2013-05-08 15:30:54 +04:00
parent b772dec18f
commit 7f540427ee

View File

@@ -26,7 +26,7 @@ class Singleton
* *
* @return Singleton * @return Singleton
*/ */
public function getInstance() public static function getInstance()
{ {
if (null === self::$_instance) { if (null === self::$_instance) {
self::$_instance = new self(); self::$_instance = new self();