Replies: 1 comment 1 reply
-
🤨 orm/lib/Doctrine/ORM/EntityManager.php Line 76 in a8b02fd
These two parameters were added later and redefining and adding them to the interface would've been a breaking change. This is going to be fixed in ORM 3.0. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It only implements the base
ObjectManager
.because of differences in the
ObjectManager::find
:and
EntityManager::find
:I am getting issues with psalm then like this: psalm/psalm-plugin-symfony#274
Strangely, the
EntityManagerInterface
does not redefine thefind()
method, so it is also just with 2 arguments like theObjectManager
Is there any reason why
EntityManagerInterface
doesnt copy exactly the signature ofEntityManager
, and also whyEntityManager
does not implement this interface?Beta Was this translation helpful? Give feedback.
All reactions