mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing E_STRICT errors from debugger
This commit is contained in:
parent
4cba8a12a0
commit
398adbbc7a
1 changed files with 3 additions and 3 deletions
|
@ -241,7 +241,7 @@ class Debugger {
|
|||
return;
|
||||
}
|
||||
|
||||
$_this =& Debugger::getInstance();
|
||||
$_this = Debugger::getInstance();
|
||||
|
||||
if (empty($file)) {
|
||||
$file = '[internal]';
|
||||
|
@ -327,7 +327,7 @@ class Debugger {
|
|||
* @link http://book.cakephp.org/view/1191/Using-the-Debugger-Class
|
||||
*/
|
||||
public static function trace($options = array()) {
|
||||
$_this =& Debugger::getInstance();
|
||||
$_this = Debugger::getInstance();
|
||||
$defaults = array(
|
||||
'depth' => 999,
|
||||
'format' => $_this->_outputFormat,
|
||||
|
@ -551,7 +551,7 @@ class Debugger {
|
|||
* @param array $strings Template strings to be used for the output format.
|
||||
*/
|
||||
public function output($format = null, $strings = array()) {
|
||||
$_this =& Debugger::getInstance();
|
||||
$_this = Debugger::getInstance();
|
||||
$data = null;
|
||||
|
||||
if (is_null($format)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue