Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation and case fixes in QueryBuilder #1523

Merged
merged 1 commit into from
Oct 1, 2015

Conversation

BenMorel
Copy link
Contributor

@BenMorel BenMorel commented Oct 1, 2015

This fixes incorrect docblocks and method case, and adds type-hints for IDEs to understand some variable types.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-3928

We use Jira to track the state of pull requests and the versions they got
included in.

* @param Expr\Base $dqlPart
* @param bool $append
* @param string $dqlPartName The DQL part name.
* @param object|array $dqlPart An Expr object.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The types can not only be Expr\Base, but also Expr\From, Expr\Comparison and Expr\OrderBy, that do not extend Expr\Base. According to the source code, it can also be array.

@Ocramius Ocramius self-assigned this Oct 1, 2015
Ocramius added a commit that referenced this pull request Oct 1, 2015
Documentation and case fixes in QueryBuilder
@Ocramius Ocramius merged commit b5799ae into doctrine:master Oct 1, 2015
@Ocramius
Copy link
Member

Ocramius commented Oct 1, 2015

@BenMorel thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants