More fixes to improve PHP 8.0 compatibility

This commit is contained in:
Kijin Sung 2020-10-31 00:40:28 +09:00
parent 8c161bc28d
commit 417e4d15b0
9 changed files with 41 additions and 30 deletions

View file

@ -141,7 +141,7 @@ class DisplayHandler extends Handler
ModuleHandler::triggerCall('display', 'after', $output);
// Output the page content and debug data.
$debug = $this->getDebugInfo($output);
$debug = self::getDebugInfo($output);
print $output;
print $debug;
}
@ -151,7 +151,7 @@ class DisplayHandler extends Handler
*
* @return string
*/
public function getDebugInfo(&$output = null)
public static function getDebugInfo(&$output = null)
{
// Check if debugging information has already been printed.