@@ -113,7 +113,7 @@ |
||
| 113 | 113 | /** |
| 114 | 114 | * Get valid. |
| 115 | 115 | * |
| 116 | - * @return \DateTime |
|
| 116 | + * @return string |
|
| 117 | 117 | */ |
| 118 | 118 | public function getValid() |
| 119 | 119 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | /** |
| 68 | 68 | * Get user. |
| 69 | 69 | * |
| 70 | - * @return $username |
|
| 70 | + * @return string |
|
| 71 | 71 | */ |
| 72 | 72 | public function getUsername(); |
| 73 | 73 | |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * |
| 47 | 47 | * @param Request $request |
| 48 | 48 | * |
| 49 | - * @return mixed |
|
| 49 | + * @return \Symfony\Component\HttpFoundation\Response|\Symfony\Component\HttpFoundation\JsonResponse |
|
| 50 | 50 | * |
| 51 | 51 | * @throws AuthenticationException |
| 52 | 52 | */ |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Gesdinet\JWTRefreshTokenBundle\EventListener; |
| 13 | 13 | |
| 14 | 14 | use Gesdinet\JWTRefreshTokenBundle\Model\RefreshTokenManagerInterface; |
| 15 | -use Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken; |
|
| 16 | 15 | use Lexik\Bundle\JWTAuthenticationBundle\Event\AuthenticationSuccessEvent; |
| 17 | 16 | use Symfony\Component\Security\Core\User\UserInterface; |
| 18 | 17 | use Symfony\Component\Validator\Validator\ValidatorInterface; |