Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

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.

@doctrinebot

Comment created by @beberlei:

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

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.