Skip to content

Commit

Permalink
correction platformbundle à userbundle dans donation setuser bis dans…
Browse files Browse the repository at this point in the history
… donation
  • Loading branch information
GWillmann committed Dec 5, 2014
1 parent 0aa6f0c commit 6c776b6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/CG/UserBundle/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct()
/**
* Get id
*
* @return integer
* @return integer
*/
public function getId()
{
Expand All @@ -64,7 +64,7 @@ public function getId()
/**
* Get points
*
* @return integer
* @return integer
*/
public function getPoints()
{
Expand Down Expand Up @@ -99,7 +99,7 @@ public function setGroup(\CG\UserBundle\Entity\UserGroup $group = null)
/**
* Get group
*
* @return \CG\UserBundle\Entity\UserGroup
* @return \CG\UserBundle\Entity\UserGroup
*/
public function getGroup()
{
Expand All @@ -109,10 +109,10 @@ public function getGroup()
/**
* Add donations
*
* @param \CG\UserBundle\Entity\Donation $donations
* @param \CG\PlatformBundle\Entity\Donation $donations
* @return User
*/
public function addDonation(\CG\UserBundle\Entity\Donation $donations)
public function addDonation(\CG\PlatformBundle\Entity\Donation $donations)
{
$this->donations[] = $donations;

Expand All @@ -122,17 +122,17 @@ public function addDonation(\CG\UserBundle\Entity\Donation $donations)
/**
* Remove donations
*
* @param \CG\UserBundle\Entity\Donation $donations
* @param \CG\PlatformBundle\Entity\Donation $donations
*/
public function removeDonation(\CG\UserBundle\Entity\Donation $donations)
public function removeDonation(\CG\PlatformBundle\Entity\Donation $donations)
{
$this->donations->removeElement($donations);
}

/**
* Get donations
*
* @return \Doctrine\Common\Collections\Collection
* @return \Doctrine\Common\Collections\Collection
*/
public function getDonations()
{
Expand All @@ -142,7 +142,7 @@ public function getDonations()
/**
* Get the sum of donations
*
* @return integer
* @return integer
*/
public function getSum()
{
Expand All @@ -157,7 +157,7 @@ public function getSum()
/**
* Get the count of donations
*
* @return integer
* @return integer
*/
public function getCount()
{
Expand All @@ -172,7 +172,7 @@ public function getCount()
/**
* Get the average of donations
*
* @return float
* @return float
*/
public function getAvg()
{
Expand Down

0 comments on commit 6c776b6

Please sign in to comment.