Skip to content

Commit a4e0748

Browse files
authored
Merge pull request #2472 from greg0ire/warn-about-signature-incompatibility
Add warning about potential signature incompatibility
2 parents 7ebc038 + 304d777 commit a4e0748

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

UPGRADE-2.5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,10 @@
44

55
* MongoDB ODM 2.5 requires PHP 7.4 or newer. If you're not running PHP 7.4 yet,
66
it's recommended that you upgrade to PHP 7.4 before upgrading ODM.
7+
8+
## `doctrine/collections` v2 compatibility
9+
10+
ODM supports doctrine/collections 2.x along 1.x. Please note that we added
11+
`findFirst(...)` and `reduce(...)` methods to comply with the new `Collection`
12+
interface. Make sure signatures of new methods comply with your own ones,
13+
should you have implemented such methods before.

0 commit comments

Comments
 (0)