Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Dec 7, 2024
1 parent da27e69 commit a5ad0b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventLoop/Internal/AbstractDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,11 @@ private function createErrorFiber(): void
$this->errorFiber = new \Fiber(function (\Throwable $exception): void {
do {
try {
assert($this->errorHandler !== null);
\assert($this->errorHandler !== null);
($this->errorHandler)($exception);
} catch (\Throwable $exception) {
$errorHandler = $this->errorHandler;
assert($errorHandler !== null);
\assert($errorHandler !== null);
$this->interrupt = static fn () => $exception instanceof UncaughtThrowable
? throw $exception
: throw UncaughtThrowable::throwingErrorHandler($errorHandler, $exception);
Expand Down

0 comments on commit a5ad0b6

Please sign in to comment.