X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/7653285d61632e4391efec7503e05f54d2e1939f..600153e3c1b67a341796fb26670eb1d3e93bd3f4:/Entity/User.php?ds=sidebyside diff --git a/Entity/User.php b/Entity/User.php index fd35891..530ea4d 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -5,7 +5,8 @@ namespace Rapsys\AirBundle\Entity; use Rapsys\AirBundle\Entity\Application; use Rapsys\AirBundle\Entity\Group; -use Rapsys\AirBundle\Entity\Vote; +use Rapsys\AirBundle\Entity\Link; +use Rapsys\AirBundle\Entity\Snippet; use Rapsys\UserBundle\Entity\User as BaseUser; class User extends BaseUser { @@ -14,16 +15,6 @@ class User extends BaseUser { */ protected $phone; - /** - * @var string - */ - protected $donation; - - /** - * @var string - */ - protected $site; - /** * @var \Doctrine\Common\Collections\Collection */ @@ -222,9 +213,9 @@ class User extends BaseUser { * * @param \Rapsys\AirBundle\Entity\Snippet $snippet * - * @return Location + * @return User */ - public function addSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) { + public function addSnippet(Snippet $snippet) { $this->snippets[] = $snippet; return $this; @@ -235,7 +226,7 @@ class User extends BaseUser { * * @param \Rapsys\AirBundle\Entity\Snippet $snippet */ - public function removeSnippet(\Rapsys\AirBundle\Entity\Snippet $snippet) { + public function removeSnippet(Snippet $snippet) { $this->snippets->removeElement($snippet); }