DDC-1093: EntityManager "ExpressionBuilder" instead of "Query\Expr" #1366

Closed
opened 2026-01-22 13:11:57 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 31, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user modernapocalypse:

The EntityManager's method getExpressionBuilder() DocBlock states that it returns a class of "ExpressionBuilder" when it actually returns an instance of "Query\Expr". The expressionBuilder property on the EntityManager also has the "ExpressionBuilder" type.

The ExpressionBuilder class does not exist and is making my PHP IDE (Netbeans 7 beta 2) code suggestion/completion functionality from working.

Originally created by @doctrinebot on GitHub (Mar 31, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user modernapocalypse: The EntityManager's method getExpressionBuilder() DocBlock states that it returns a class of "ExpressionBuilder" when it actually returns an instance of "Query\Expr". The expressionBuilder property on the EntityManager also has the "ExpressionBuilder" type. The ExpressionBuilder class does not exist and is making my PHP IDE (Netbeans 7 beta 2) code suggestion/completion functionality from working.
admin closed this issue 2026-01-22 13:11:57 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 3, 2011):

Comment created by @beberlei:

Fixed, you can use QueryBuilder->expr() aswell btw, which type hints this correctly.

@doctrinebot commented on GitHub (Apr 3, 2011): Comment created by @beberlei: Fixed, you can use QueryBuilder->expr() aswell btw, which type hints this correctly.
Author
Owner

@doctrinebot commented on GitHub (Apr 3, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 3, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1366