Skip to content

Fix typo in remove method template in entity generator#408

Merged
beberlei merged 1 commit intodoctrine:2.2from
benlumley:2.2
Jul 29, 2012
Merged

Fix typo in remove method template in entity generator#408
beberlei merged 1 commit intodoctrine:2.2from
benlumley:2.2

Conversation

@benlumley
Copy link
Contributor

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);
 }

@travisbot
Copy link

This pull request passes (merged c84607c into 5d2a3bc).

@stof
Copy link
Member

stof commented Jul 25, 2012

@beberlei 👍 you forgot to backport this fix when backporting the commit from 2.3 to 2.2 a while ago as you picked only the original commit and not the fix

beberlei added a commit that referenced this pull request Jul 29, 2012
Fix typo in remove method template in entity generator
@beberlei beberlei merged commit fe6018c into doctrine:2.2 Jul 29, 2012
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.

4 participants