[HttpKernel] Fix DebugHandlersListener constructor docblock
This commit is contained in:
parent
3f75092a74
commit
2e4020c430
@ -19,6 +19,7 @@ use Symfony\Component\Debug\ErrorHandler;
|
|||||||
use Symfony\Component\Debug\ExceptionHandler;
|
use Symfony\Component\Debug\ExceptionHandler;
|
||||||
use Symfony\Component\EventDispatcher\Event;
|
use Symfony\Component\EventDispatcher\Event;
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
|
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
|
||||||
use Symfony\Component\HttpKernel\Event\KernelEvent;
|
use Symfony\Component\HttpKernel\Event\KernelEvent;
|
||||||
use Symfony\Component\HttpKernel\KernelEvents;
|
use Symfony\Component\HttpKernel\KernelEvents;
|
||||||
|
|
||||||
@ -40,13 +41,13 @@ class DebugHandlersListener implements EventSubscriberInterface
|
|||||||
private $hasTerminatedWithException;
|
private $hasTerminatedWithException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param callable|null $exceptionHandler A handler that will be called on Exception
|
* @param callable|null $exceptionHandler A handler that will be called on Exception
|
||||||
* @param LoggerInterface|null $logger A PSR-3 logger
|
* @param LoggerInterface|null $logger A PSR-3 logger
|
||||||
* @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants
|
* @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants
|
||||||
* @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value
|
* @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value
|
||||||
* @param bool $scream Enables/disables screaming mode, where even silenced errors are logged
|
* @param bool $scream Enables/disables screaming mode, where even silenced errors are logged
|
||||||
* @param string|array $fileLinkFormat The format for links to source files
|
* @param string|FileLinkFormatter|null $fileLinkFormat The format for links to source files
|
||||||
* @param bool $scope Enables/disables scoping mode
|
* @param bool $scope Enables/disables scoping mode
|
||||||
*/
|
*/
|
||||||
public function __construct(callable $exceptionHandler = null, LoggerInterface $logger = null, $levels = E_ALL, $throwAt = E_ALL, $scream = true, $fileLinkFormat = null, $scope = true)
|
public function __construct(callable $exceptionHandler = null, LoggerInterface $logger = null, $levels = E_ALL, $throwAt = E_ALL, $scream = true, $fileLinkFormat = null, $scope = true)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user