mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #10202] Allow "Expr\Func" as condition in join in PHPDoc #12172
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/10202
State: closed
Merged: Yes
I use "Expr\Func" as 4th parameter of innerJoin, but according to the PHPDoc it's not allowed:
Solves #8151
Current parameter is https://github.com/doctrine/orm/blob/2.13.x/lib/Doctrine/ORM/QueryBuilder.php#L1025
For example when I use the "in" expression in the join condition:
it generates the query .... WITH u.id IN(1, 2, 3), but currently it's not allowed according to the PHPDoc.