Closed greg0ire closed 4 years ago
Sorry @lstrojny , I should have spotted this when reviewing #307, since I'm the author of the deprecation layer in doctrine/persistence
:sweat_smile:
Not exactly what this PR aims to fix, but good points! Please review again.
doctrine/persistence
already provides a deprecation layer for this by using class aliases: Doctrine\Common\Persistence\ManagerRegistry and Doctrine\Persistence\ManagerRegistry are two names for the same thing, there is no need for another layer here, and the type declaration can be restored as it was before.