Closed
Description
I have custom Expr class extended from Doctrine\ORM\Query\Expr
I think, PHPStan doesn't know about that class and trigger error
In ExpressionBuilderDynamicReturnTypeExtension.php line 67:
Attempted to call an undefined method named "myCustomMethod" of class "Doctrine\ORM\Query\Expr".
is it because Doctrine\ORM\Query\Expr
harcoded in getClass() method?
How to fix that?
Metadata
Metadata
Assignees
Labels
No labels