Skip to content

Commit 2e4020c

Browse files
author
Robin Chalas
committed
[HttpKernel] Fix DebugHandlersListener constructor docblock
1 parent 3f75092 commit 2e4020c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/Symfony/Component/HttpKernel/EventListener/DebugHandlersListener.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Symfony\Component\Debug\ExceptionHandler;
2020
use Symfony\Component\EventDispatcher\Event;
2121
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
22+
use Symfony\Component\HttpKernel\Debug\FileLinkFormatter;
2223
use Symfony\Component\HttpKernel\Event\KernelEvent;
2324
use Symfony\Component\HttpKernel\KernelEvents;
2425

@@ -40,13 +41,13 @@ class DebugHandlersListener implements EventSubscriberInterface
4041
private $hasTerminatedWithException;
4142

4243
/**
43-
* @param callable|null $exceptionHandler A handler that will be called on Exception
44-
* @param LoggerInterface|null $logger A PSR-3 logger
45-
* @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants
46-
* @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value
47-
* @param bool $scream Enables/disables screaming mode, where even silenced errors are logged
48-
* @param string|array $fileLinkFormat The format for links to source files
49-
* @param bool $scope Enables/disables scoping mode
44+
* @param callable|null $exceptionHandler A handler that will be called on Exception
45+
* @param LoggerInterface|null $logger A PSR-3 logger
46+
* @param array|int $levels An array map of E_* to LogLevel::* or an integer bit field of E_* constants
47+
* @param int|null $throwAt Thrown errors in a bit field of E_* constants, or null to keep the current value
48+
* @param bool $scream Enables/disables screaming mode, where even silenced errors are logged
49+
* @param string|FileLinkFormatter|null $fileLinkFormat The format for links to source files
50+
* @param bool $scope Enables/disables scoping mode
5051
*/
5152
public function __construct(callable $exceptionHandler = null, LoggerInterface $logger = null, $levels = E_ALL, $throwAt = E_ALL, $scream = true, $fileLinkFormat = null, $scope = true)
5253
{

0 commit comments

Comments
 (0)