1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16955] Clean up debug, event, and extension classes

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 22:46:43 +01:00
parent e1a3b6b552
commit de9019d64e
6 changed files with 20 additions and 13 deletions

View File

@@ -15,8 +15,14 @@ namespace phpbb\debug;
use Symfony\Component\Debug\ErrorHandler;
/**
* @psalm-suppress InvalidExtendClass
*/
class error_handler extends ErrorHandler
{
/**
* @psalm-suppress MethodSignatureMismatch
*/
public function handleError($type, $message, $file, $line)
{
if ($type === E_USER_WARNING || $type === E_USER_NOTICE)