mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #11285] Add error handling when misuse of find() with array values #12909
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?
Original Pull Request: https://github.com/doctrine/orm/pull/11285
State: closed
Merged: No
Issue
When we (inexpertly) use
$em->find(...)with array values in identifer, it returns a PHP warning..See all details and how to reproduce it in the issue : https://github.com/doctrine/orm/issues/11236.
Solution
In this PR
Notes
This PR is a copy of this PR who has been re-targeted to branch
3.1.x