diff --git a/src/Future.php b/src/Future.php index 2522fb47..fa123e38 100644 --- a/src/Future.php +++ b/src/Future.php @@ -18,7 +18,7 @@ final class Future * @template Tv * * @param iterable> $futures - * @param Cancellation|null $cancellation Optional cancellation. + * @param Cancellation|null $cancellation Optional cancellation. * * @return iterable> */ @@ -213,8 +213,6 @@ public function finally(\Closure $finally): self * Throws an exception if the operation fails. * * @return T - * - * @throws CancelledException */ public function await(?Cancellation $cancellation = null): mixed {