Skip to content

Commit

Permalink
README: fix code snippet for map function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Moskalev committed Jan 20, 2023
1 parent 87d682a commit 1ff92c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ print_r(iterator_to_array($range));

Maps iterable collection and creating IndexedArray of mapped values as a result.

```map(iterable $collection, callable $mapper): IndexedArray```
```map(callable $mapper, iterable ...$collections): IndexedArray```

```php
use function Smoren\Sequence\Functions\map;
Expand Down

0 comments on commit 1ff92c4

Please sign in to comment.