Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3145

[GH-1044] Use of ->andWhere() whithout any ->where() before is valid

    Details

    • Type: Documentation Documentation
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      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.

        Activity

        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/doctrine2/commit/5d1275e938145a37df6d700ac2ec0886805b5b79
        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-1044] was closed:
        https://github.com/doctrine/doctrine2/pull/1044

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-1044] was closed: https://github.com/doctrine/doctrine2/pull/1044

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: