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

Use of ->andWhere() whithout any ->where() before is valid #1044

Merged
merged 2 commits into from
May 29, 2014
Merged

Use of ->andWhere() whithout any ->where() before is valid #1044

merged 2 commits into from
May 29, 2014

Conversation

ronanguilloux
Copy link
Contributor

->andWhere() can be used directly, without any ->where() before: we can just always use only ->andWhere(). This is why ->hasWhere() is useless, cf. #1043.

->andWhere() can be used directly, without any ->where() before, and we can just always use ->andWhere(). This is why ->hasWhere() is useless, cf. #1043.
@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-3145

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

Ocramius added a commit that referenced this pull request May 29, 2014
Use of ->andWhere() whithout any ->where() before is valid
@Ocramius Ocramius merged commit 5d1275e into doctrine:master May 29, 2014
@Ocramius Ocramius self-assigned this May 29, 2014
@ronanguilloux ronanguilloux deleted the patch-2 branch May 29, 2014 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants