Skip to content

Commit 61e330d

Browse files
fix(map): the key is still passed
1 parent e6520ad commit 61e330d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Transformations/map.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Applies a callback to each element.
1212
*
13-
* @param callable(mixed, mixed=): mixed $fn ($value, $key)
13+
* @param callable(mixed, mixed): mixed $fn ($value, $key)
1414
*/
1515
function map(callable $fn): Closure
1616
{

0 commit comments

Comments
 (0)