[PR #9325] Use EntityManagerInterface in type declarations #11532

Closed
opened 2026-01-22 16:11:03 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


The codebase inconsitently switched between EntityManagerInterface and EntityManager in type declarations. This will get us into trouble if we want to migrate to native type declarations on 3.0.

This PR switches all type declarations to EntityManagerInterface where possible.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9325 **State:** closed **Merged:** Yes --- The codebase inconsitently switched between `EntityManagerInterface` and `EntityManager` in type declarations. This will get us into trouble if we want to migrate to native type declarations on 3.0. This PR switches all type declarations to `EntityManagerInterface` where possible.
admin added the pull-request label 2026-01-22 16:11:03 +01:00
admin closed this issue 2026-01-22 16:11:04 +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#11532