mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/17176] Fix mix of psalm / DebugHandler
PHPBB3-17176
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user