]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/GroupBundle/Entity/UserGroup.php
Fixed typos
[github/wallabag/wallabag.git] / src / Wallabag / GroupBundle / Entity / UserGroup.php
index 22d1400a06b2b87efdd33153c9e4c097bf1786a1..0c40b0d3badc2ab309d9c96574116095d98a6810 100644 (file)
@@ -3,15 +3,13 @@
 namespace Wallabag\GroupBundle\Entity;
 
 use Doctrine\ORM\Mapping as ORM;
-use FOS\UserBundle\Model\GroupInterface;
-use Symfony\Component\Validator\Constraints as Assert;
 use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
 use Wallabag\UserBundle\Entity\User;
 
 /**
  * @ORM\Entity(repositoryClass="Wallabag\GroupBundle\Repository\UserGroupRepository")
  * @UniqueEntity({"user_id", "group_id"})
- * @ORM\Table(name="fos_user_group")
+ * @ORM\Table(name="user_group")
  */
 class UserGroup
 {
@@ -52,7 +50,8 @@ class UserGroup
 
     /**
      * UserGroup constructor.
-     * @param User $user
+     *
+     * @param User  $user
      * @param Group $group
      * @param $role
      */
@@ -90,11 +89,13 @@ class UserGroup
 
     /**
      * @param int $role
+     *
      * @return UserGroup
      */
     public function setRole($role)
     {
         $this->role = $role;
+
         return $this;
     }