Skip to content

Commit 6f3ec1f

Browse files
Add a few more ??=
1 parent 4b6e76c commit 6f3ec1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ public function handleException(\Throwable $exception)
539539
if (null !== $exceptionHandler) {
540540
return $exceptionHandler($exception);
541541
}
542-
$handlerException = $handlerException ?: $exception;
542+
$handlerException ??= $exception;
543543
} catch (\Throwable $handlerException) {
544544
}
545545
if ($exception === $handlerException && null === $this->exceptionHandler) {

0 commit comments

Comments
 (0)