Skip to content

Commit

Permalink
fix missing method
Browse files Browse the repository at this point in the history
  • Loading branch information
MARTINS Charly committed Jun 29, 2018
1 parent 0dce0e0 commit f0c1fa9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,18 @@ public function setNbPost($nbPost)
return $this;
}

/**
* @param int $nbPost
*
* @return User
*/
public function addNbPost($nbPost)
{
$this->nbPost += $nbPost;

return $this;
}

/**
* @return bool
*/
Expand Down

0 comments on commit f0c1fa9

Please sign in to comment.