You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just updated to 0.7.0 and am getting errors reporting when passing Doctrine\ORM\Query\Expr\Comparison objects into Doctrine\ORM\QueryBuilder::andWhere().
The QueryBuilder stub defines a custom Psalm type @psalm-type _WhereExpr=Expr\Base|string. Unfortunately Doctrine's expression classes don't all extend Doctrine\ORM\Query\Expr\Base.
I believe the type needs changing to @psalm-type _WhereExpr=Expr\Base|Expr\Comparison|string.
The text was updated successfully, but these errors were encountered:
I've just updated to 0.7.0 and am getting errors reporting when passing
Doctrine\ORM\Query\Expr\Comparison
objects intoDoctrine\ORM\QueryBuilder::andWhere()
.The
QueryBuilder
stub defines a custom Psalm type@psalm-type _WhereExpr=Expr\Base|string
. Unfortunately Doctrine's expression classes don't all extendDoctrine\ORM\Query\Expr\Base
.I believe the type needs changing to
@psalm-type _WhereExpr=Expr\Base|Expr\Comparison|string
.The text was updated successfully, but these errors were encountered: