Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1944

[GH-408] Fix typo in remove method template in entity generator

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.3
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

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

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

      Message:

      Single character change - fixes generated docblocks for removeXXX methods.

      Before:

      /**

      • Remove measurements
        *
      • @param <variableType$measurements
        */
        public function removeMeasurement(\My\Bundle\Entity\CalibrationMeasurement $measurements) { $this->measurements->removeElement($measurements); }

        After:

        /**
        * Remove measurements
        *
        * @param My\Bundle\Entity\Measurement $measurements
        */
        public function removeMeasurement(\My\Bundle\Entity\Measurement $measurements)
        { $this->measurements->removeElement($measurements); }

        Activity

        Hide
        Benjamin Eberlei added a comment -

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

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

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

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

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: