diff --git a/lib/functions.php b/lib/functions.php index 3e0fb1ee..909bcf31 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -342,9 +342,7 @@ function any(array $promises): Promise * promise succeeds with an array of values used to succeed each contained promise, with keys corresponding to * the array of promises. * - * @param Promise[]|ReactPromise[] $promises Array of only promises. - * - * @psalm-param array $promises + * @param array $promises * * @return Promise * @@ -740,12 +738,9 @@ function concat(array $iterators): Iterator * * @template TValue * - * @param Iterator $iterator - * - * @psalm-param Iterator $iterator + * @param Iterator $iterator * - * @return Promise - * @psalm-return Promise> + * @return Promise> */ function toArray(Iterator $iterator): Promise {