mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
BasicEntityPersister::count() return type contract violation in 2.5.x branch #5758
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vkurdin on GitHub (Nov 3, 2017).
Originally assigned to: @lcobucci on GitHub.
There is a return type contract violation in stable 2.5.x branch for
count()method inBasicEntityPersisterclass: string returned instead of integere1b851f2e9/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php (L811-L824)causing incorrect behavior in case like:
it seems to be fixed as a collateral change in
masterand needs to be backported somehow:a90035e81a (diff-25f5292f65d5536bb733559f15e0d37fR825)@lcobucci commented on GitHub (Nov 27, 2017):
Handled via #6818