Skip to content

Commit

Permalink
Fix I18n\DateTime name in Collections::combine() (#7746)
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey authored Oct 10, 2023
1 parent ddad417 commit 385a7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/core-libraries/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ You can also optionally use a ``groupPath`` to group results based on a path::
];

Finally you can use *closures* to build keys/values/groups paths dynamically,
for example when working with entities and dates (converted to ``Cake/Time``
for example when working with entities and dates (converted to ``I18n\DateTime``
instances by the ORM) you may want to group results by date::

$combined = (new Collection($entities))->combine(
Expand Down

0 comments on commit 385a7ee

Please sign in to comment.