Skip to content

Commit 69058e3

Browse files
committed
minor symfony#30847 [HttpKernel] Fix DebugHandlersListener constructor docblock (chalasr)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpKernel] Fix DebugHandlersListener constructor docblock | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 2e4020c [HttpKernel] Fix DebugHandlersListener constructor docblock
2 parents 3f75092 + 2e4020c commit 69058e3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

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

+8-7
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)