mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/17176] Fix mix of psalm / DebugHandler
PHPBB3-17176
This commit is contained in:
parent
5231e04d49
commit
43772c0608
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
namespace phpbb\debug;
|
namespace phpbb\debug;
|
||||||
|
|
||||||
use Symfony\Component\ErrorHandler\BufferingLogger;
|
use Symfony\Component\ErrorHandler\BufferingLogger;
|
||||||
|
use Symfony\Component\ErrorHandler\Debug as DebugHandler;
|
||||||
use Symfony\Component\ErrorHandler\ErrorHandler;
|
use Symfony\Component\ErrorHandler\ErrorHandler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,6 +75,6 @@ class debug
|
||||||
error_handler::register()->throwAt(0, true);
|
error_handler::register()->throwAt(0, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
Debug::enable();
|
DebugHandler::enable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue