DDC-3145: [GH-1044] Use of ->andWhere() whithout any ->where() before is valid #3900

Open
opened 2026-01-22 14:31:06 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (May 29, 2014).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of ronanguilloux:

Url: https://github.com/doctrine/doctrine2/pull/1044

Message:

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

Originally created by @doctrinebot on GitHub (May 29, 2014). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of ronanguilloux: Url: https://github.com/doctrine/doctrine2/pull/1044 Message: ->andWhere() can be used directly, without any ->where() before: we can just _always_ use only ->andWhere(). This is why ->hasWhere() is useless, cf. #1043.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3900