X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/5fae7a4547d913b862cb4d12f477846336765cb8..81e73b73963d8beb8f17e8e9681d23b8bbc036f7:/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); }