Skip to content

symfony/doctrine-bridge uses ORM\QueryBuilder typehint for DocumentType #34624

@esserj

Description

@esserj

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions