Skip to content

Commit

Permalink
Fixed Breeze/Application not being declared as a static function desp…
Browse files Browse the repository at this point in the history
…ite being called as one in numerous areas of the codebase
  • Loading branch information
elazar committed Jul 19, 2011
1 parent f419641 commit 42cd3f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Breeze/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -2578,4 +2578,4 @@ public function run($requestMethod = null, $requestUri = null)
// to the end of a Breeze request
}
}
}
}

0 comments on commit 42cd3f2

Please sign in to comment.