Skip to content

Commit

Permalink
Merge pull request #105 from inpronet/patch-1
Browse files Browse the repository at this point in the history
Wrong type
  • Loading branch information
jmleroux authored Oct 25, 2017
2 parents d51fcdc + fb049b7 commit e7de3aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/examples/CustomBundle/Entity/Fabric.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ public function setName($name)
}

/**
* Set year
* Set alternativeName
*
* @param int $year
* @param string $alternativeName
*/
public function setAlternativeName($year)
public function setAlternativeName($alternativeName)
{
$this->alternativeName = $year;
$this->alternativeName = $alternativeName;
}

/**
* Get year
* Get alternativeName
*
* @return int
* @return string
*/
public function getAlternativeName()
{
Expand Down

0 comments on commit e7de3aa

Please sign in to comment.