]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Tag.php
move some files to UserBundle
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Tag.php
index 97c4579f70e8c1a607817a28ca5985912a2c8b3d..5b571823f707f11659f7da8c92707ff839d60917 100644 (file)
@@ -42,11 +42,11 @@ class Tag
     private $entries;
 
     /**
-     * @ORM\ManyToOne(targetEntity="User", inversedBy="tags")
+     * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="tags")
      */
     private $user;
 
-    public function __construct(User $user)
+    public function __construct(\Wallabag\UserBundle\Entity\User $user)
     {
         $this->user = $user;
         $this->entries = new ArrayCollection();