@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * @param \DateTime $datetime |
| 98 | 98 | * @param bool $andFlush |
| 99 | 99 | * |
| 100 | - * @return RefreshTokenInterface[] |
|
| 100 | + * @return \Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken[] |
|
| 101 | 101 | */ |
| 102 | 102 | public function revokeAllInvalid($datetime = null, $andFlush = true) |
| 103 | 103 | { |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | * |
| 113 | 113 | * @param Request $request |
| 114 | 114 | * |
| 115 | - * @return mixed |
|
| 115 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 116 | 116 | * |
| 117 | 117 | * @throws InvalidArgumentException |
| 118 | 118 | * @throws AuthenticationException |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Gesdinet\JWTRefreshTokenBundle\Document; |
| 4 | 4 | |
| 5 | -use Doctrine\ODM\MongoDB\DocumentRepository as OldDocumentRepository; |
|
| 6 | 5 | use Doctrine\ODM\MongoDB\Repository\DocumentRepository as ForwardDocumentRepository; |
| 7 | 6 | |
| 8 | 7 | // @todo: remove this condition and extend directly from `ForwardDocumentRepository` |