From 385a7eeb6535a5aa2bf0d5027c93d159fdcaef8a Mon Sep 17 00:00:00 2001 From: othercorey Date: Tue, 10 Oct 2023 06:23:04 -0500 Subject: [PATCH] Fix I18n\DateTime name in Collections::combine() (#7746) --- en/core-libraries/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/core-libraries/collections.rst b/en/core-libraries/collections.rst index ce52f2f81a..f7b57deb70 100644 --- a/en/core-libraries/collections.rst +++ b/en/core-libraries/collections.rst @@ -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(