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.
1 parent 57d86e5 commit 1ac36b1Copy full SHA for 1ac36b1
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