Skip to content

Commit c1e8c4a

Browse files
[6.0] cs fixes
1 parent 6768e8d commit c1e8c4a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

DataCollector/ExceptionDataCollector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ public function hasException(): bool
4747
return isset($this->data['exception']);
4848
}
4949

50-
/**
51-
* @return \Exception|FlattenException
52-
*/
5350
public function getException(): \Exception|FlattenException
5451
{
5552
return $this->data['exception'];

EventListener/DebugHandlersListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(callable $exceptionHandler = null, LoggerInterface $
5555
$this->earlyHandler = \is_array($handler) ? $handler[0] : null;
5656
restore_exception_handler();
5757

58-
$this->exceptionHandler = $exceptionHandler === null || $exceptionHandler instanceof \Closure ? $exceptionHandler : \Closure::fromCallable($exceptionHandler);
58+
$this->exceptionHandler = null === $exceptionHandler || $exceptionHandler instanceof \Closure ? $exceptionHandler : \Closure::fromCallable($exceptionHandler);
5959
$this->logger = $logger;
6060
$this->levels = $levels ?? \E_ALL;
6161
$this->throwAt = \is_int($throwAt) ? $throwAt : (null === $throwAt ? null : ($throwAt ? \E_ALL : null));

0 commit comments

Comments
 (0)