@@ -65,8 +65,7 @@ discard block |
||
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @param int $userId |
|
| 69 | - * @return PassportInterface |
|
| 68 | + * @return RoleInterface |
|
| 70 | 69 | */ |
| 71 | 70 | public function createNewRole(RoleInterface $role): RoleInterface |
| 72 | 71 | { |
@@ -77,7 +76,6 @@ discard block |
||
| 77 | 76 | } |
| 78 | 77 | |
| 79 | 78 | /** |
| 80 | - * @param int $userId |
|
| 81 | 79 | * @return PassportInterface |
| 82 | 80 | */ |
| 83 | 81 | public function removeRole(RoleInterface $role): void |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Del\Passport\Passport; |
| 6 | 6 | use Del\Passport\Entity\PassportRole; |
| 7 | 7 | use Del\Passport\Entity\Role; |
| 8 | -use Doctrine\Common\Collections\Collection; |
|
| 9 | 8 | use Doctrine\ORM\EntityManager; |
| 10 | 9 | |
| 11 | 10 | class PassportControl |