Browse Source

Add missing static on Debugger::output()

This method should have been static the whole time, and the lack of
static was causing tests to fail on PHP 5.6
mark_story 12 years ago
parent
commit
92e6c138c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Utility/Debugger.php

+ 1 - 1
lib/Cake/Utility/Debugger.php

@@ -698,7 +698,7 @@ class Debugger {
  * @deprecated Use Debugger::outputAs() and Debugger::addFormat(). Will be removed
  *   in 3.0
  */
-	public function output($format = null, $strings = array()) {
+	public static function output($format = null, $strings = array()) {
 		$self = Debugger::getInstance();
 		$data = null;