diff --git a/src/functions.php b/src/functions.php index b72bf36..1e80087 100644 --- a/src/functions.php +++ b/src/functions.php @@ -129,10 +129,10 @@ * For more details on the promise primitives, please refer to the * [Promise documentation](https://github.com/reactphp/promise#functions). * - * @param PromiseInterface $promise + * @param PromiseInterface $promise * @param float $time * @param ?LoopInterface $loop - * @return PromiseInterface + * @return PromiseInterface */ function timeout(PromiseInterface $promise, $time, LoopInterface $loop = null) { @@ -219,7 +219,7 @@ function timeout(PromiseInterface $promise, $time, LoopInterface $loop = null) * * @param float $time * @param ?LoopInterface $loop - * @return PromiseInterface + * @return PromiseInterface */ function sleep($time, LoopInterface $loop = null) { @@ -275,7 +275,7 @@ function sleep($time, LoopInterface $loop = null) * * @param float $time * @param ?LoopInterface $loop - * @return PromiseInterface + * @return PromiseInterface * @deprecated 1.8.0 See `sleep()` instead * @see sleep() */ @@ -318,7 +318,7 @@ function resolve($time, LoopInterface $loop = null) * * @param float $time * @param LoopInterface $loop - * @return PromiseInterface + * @return PromiseInterface * @deprecated 1.8.0 See `sleep()` instead * @see sleep() */