mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Why Doctrine\ORM\Query\Expr\From does not extend Base ? #4951
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?
Originally created by @morfin on GitHub (Dec 23, 2015).
Originally assigned to: @Ocramius on GitHub.
The QueryBuilder method "add" expects a "Expr\Base" $dqlPart instance according to the method annotations. I just wonder why the annotation is there.
That means:
Will cause PhpStorm and probably other IDE's to throw a syntax warning.
@Ocramius commented on GitHub (Dec 25, 2015):
I don't see what you are referring to:
3ca6828544/lib/Doctrine/ORM/QueryBuilder.php (L684)Could you point me to the exact bit that is causing the warning?