Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
the-pulli committed Dec 18, 2023
1 parent 5626bd0 commit 4db69b0
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 @@ -28,7 +28,7 @@ $collection = Collection::mapToCollectionFrom([['test' => 1],2,3]);
$collection->get(0)->get('test'); // returns 1

// Item has a toArray() public method, then it can be wrapped into a collection like this:
$collection = Collection::mapToCollection([Item(),Item()], true);
$collection = Collection::mapToCollectionFrom([Item(),Item()], true);
```

### `recursiveToArrayFrom`
Expand Down

0 comments on commit 4db69b0

Please sign in to comment.