[PR #8289] Add psalm template support to several types #10899

Open
opened 2026-01-22 16:09:02 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/8289

State: closed
Merged: Yes


Hi,

This should fix #8283

I was suprised not to find all the method subbed in https://github.com/weirdan/doctrine-psalm-plugin/blob/master/stubs/EntityManagerInterface.phpstub in the EntityManagerInterface. Turns out they're defined in the parent class which is part of Doctrine\Persistence (The version installed via composer seem to already have the psalm's annotation though)

CS will probably fail. I'll fix it soon

**Original Pull Request:** https://github.com/doctrine/orm/pull/8289 **State:** closed **Merged:** Yes --- Hi, This should fix #8283 I was suprised not to find all the method subbed in https://github.com/weirdan/doctrine-psalm-plugin/blob/master/stubs/EntityManagerInterface.phpstub in the EntityManagerInterface. Turns out they're defined in the parent class which is part of Doctrine\Persistence (The version installed via composer seem to already have the psalm's annotation though) CS will probably fail. I'll fix it soon
admin added the pull-request label 2026-01-22 16:09:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10899