Skip to content

Commit 1ac36b1

Browse files
committed
Add missing typehint to some's howMany
1 parent 57d86e5 commit 1ac36b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function any(array $promisesOrValues): PromiseInterface
147147
* @param int $howMany
148148
* @return PromiseInterface
149149
*/
150-
function some(array $promisesOrValues, $howMany): PromiseInterface
150+
function some(array $promisesOrValues, int $howMany): PromiseInterface
151151
{
152152
if ($howMany < 1) {
153153
return resolve([]);

0 commit comments

Comments
 (0)