1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-22 02:55:41 +02:00

[ticket/17176] Clear up error handler code for psalm

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-09-21 16:36:56 +02:00
parent 384405d8e0
commit 2d06dd03f0
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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);
}