We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e7877 commit 3f86d66Copy full SHA for 3f86d66
1 file changed
src/functions.php
@@ -68,7 +68,7 @@ function map(callable $mapper, iterable ...$collections): IndexedArray
68
* @template T
69
*
70
* @param iterable<T> $collection
71
- * @param callable(T $item): T $filter
+ * @param callable(T $item): bool $filter
72
73
* @return IndexedArray<T>
74
*/
0 commit comments