mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 19:15:33 +02:00
[ticket/17176] Clear up error handler code for psalm
PHPBB3-17176
This commit is contained in:
@ -15,7 +15,6 @@ namespace phpbb\debug;
|
||||
|
||||
use Symfony\Component\ErrorHandler\BufferingLogger;
|
||||
use Symfony\Component\ErrorHandler\DebugClassLoader;
|
||||
use Symfony\Component\ErrorHandler\ErrorHandler;
|
||||
|
||||
/**
|
||||
* Registers all the debug tools.
|
||||
|
@ -21,7 +21,10 @@ use Symfony\Component\ErrorHandler\ErrorHandler;
|
||||
*/
|
||||
class error_handler extends ErrorHandler
|
||||
{
|
||||
public function __construct(BufferingLogger $bootstrappingLogger = null, private bool $debug = false)
|
||||
/**
|
||||
* @psalm-suppress MethodSignatureMismatch
|
||||
*/
|
||||
public function __construct(BufferingLogger $bootstrappingLogger = null, private readonly bool $debug = false)
|
||||
{
|
||||
parent::__construct($bootstrappingLogger, $debug);
|
||||
}
|
||||
|
Reference in New Issue
Block a user