From 42cd3f236c86eb13077ad45f88b71b8cc2ed4ddc Mon Sep 17 00:00:00 2001 From: elazar Date: Mon, 18 Jul 2011 23:04:58 -0500 Subject: [PATCH] Fixed Breeze/Application not being declared as a static function despite being called as one in numerous areas of the codebase --- lib/Breeze/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Breeze/Application.php b/lib/Breeze/Application.php index 365a84e..725ab94 100755 --- a/lib/Breeze/Application.php +++ b/lib/Breeze/Application.php @@ -2053,7 +2053,7 @@ public function __construct(Configurations $configurations = null) * * @return Breeze\Application */ - public function getInstance($name, Configurations $configurations = null) + public static function getInstance($name, Configurations $configurations = null) { if (!isset(self::$_instances[$name])) { self::$_instances[$name] = new self($configurations); @@ -2578,4 +2578,4 @@ public function run($requestMethod = null, $requestUri = null) // to the end of a Breeze request } } -} \ No newline at end of file +}