We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ea755b + 1ac36b1 commit d3d4ec3Copy full SHA for d3d4ec3
src/functions.php
@@ -147,7 +147,7 @@ function any(array $promisesOrValues): PromiseInterface
147
* @param int $howMany
148
* @return PromiseInterface
149
*/
150
-function some(array $promisesOrValues, $howMany): PromiseInterface
+function some(array $promisesOrValues, int $howMany): PromiseInterface
151
{
152
if ($howMany < 1) {
153
return resolve([]);
0 commit comments