Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3177

[GH-1063] singularize variable name on add/remove methods for EntityGenerator

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • 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 FlorianLB:

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

      Message:

      Not a big change but corrects an error of plural.

      Previously :
      ```php
      public function addComment(EntityGeneratorComment $comments)

      { $this->comments[] = $comments; return $this; }

      ```

      With this PR :
      ```php
      public function addComment(EntityGeneratorComment $comment)

      { $this->comments[] = $comment; return $this; }

      ```

        Activity

        Hide
        Doctrine Bot added a comment -

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

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

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: