Symfony version(s) affected: symfony/doctrine-bridge: 4.4.0
Description
symfony/doctrine-bridge has added type hints to the DocumentType that are for the ORM QueryBuilder, it's also next to impossible to add a typehint there because the typehints are all different (phpcr, mongodb, ...)
How to reproduce
use a DocumentType with a Doctrine PHPCR implementation
Possible Solution
Remove the typehint because there is no common interface
Additional context