Skip to content

Commit

Permalink
Spacing nit
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Nov 18, 2023
1 parent 0668dbe commit fc9aca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EventLoop/Internal/DriverSuspension.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function suspend(): mixed
'Suspension cannot be suspended after an uncaught exception is thrown from the event loop',
);
}

if ($this->pending) {
throw new \Error('Must call resume() or throw() before calling suspend() again');
}
Expand Down

0 comments on commit fc9aca7

Please sign in to comment.