From 7f540427eec68c46e8552a59607eb3afb3f31aa5 Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 8 May 2013 15:30:54 +0400 Subject: [PATCH] omitted static declaration --- Singleton/Singleton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();