mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
[ticket/17176] Use symfony error handler instead of debug
PHPBB3-17176
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace phpbb\debug;
|
||||
|
||||
use Symfony\Component\Debug\ErrorHandler;
|
||||
use Symfony\Component\ErrorHandler\ErrorHandler;
|
||||
|
||||
/**
|
||||
* @psalm-suppress InvalidExtendClass
|
||||
@@ -23,7 +23,7 @@ class error_handler extends ErrorHandler
|
||||
/**
|
||||
* @psalm-suppress MethodSignatureMismatch
|
||||
*/
|
||||
public function handleError($type, $message, $file, $line)
|
||||
public function handleError(int $type, string $message, string $file, int $line): bool
|
||||
{
|
||||
if ($type === E_USER_WARNING || $type === E_USER_NOTICE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user