Skip to content

Commit

Permalink
Add missing static on Debugger::output()
Browse files Browse the repository at this point in the history
This method should have been static the whole time, and the lack of
static was causing tests to fail on PHP 5.6
  • Loading branch information
markstory committed May 12, 2014
1 parent 5e369a5 commit 92e6c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Utility/Debugger.php
Expand Up @@ -698,7 +698,7 @@ public static function addFormat($format, array $strings) {
* @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;

Expand Down

0 comments on commit 92e6c13

Please sign in to comment.