Test Failed
Pull Request — master (#96)
by
unknown
08:52
created
Security/Authenticator/RefreshTokenAuthenticator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
  */
37 37
 class RefreshTokenAuthenticator extends RefreshTokenAuthenticatorBase implements AuthenticationFailureHandlerInterface
38 38
 {
39
+    /**
40
+     * @param string $providerKey
41
+     */
39 42
     public function createToken(Request $request, $providerKey)
40 43
     {
41 44
         $refreshTokenString = RequestRefreshToken::getRefreshToken($request);
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         );
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $providerKey
55
+     */
50 56
     public function authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey)
51 57
     {
52 58
         if (!$userProvider instanceof RefreshTokenProvider) {
Please login to merge, or discard this patch.
Doctrine/RefreshTokenManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
      * @param \DateTime $datetime
98 98
      * @param bool      $andFlush
99 99
      *
100
-     * @return RefreshTokenInterface[]
100
+     * @return \Gesdinet\JWTRefreshTokenBundle\Service\RefreshToken[]
101 101
      */
102 102
     public function revokeAllInvalid($datetime = null, $andFlush = true)
103 103
     {
Please login to merge, or discard this patch.
Entity/RefreshTokenRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 class RefreshTokenRepository extends EntityRepository
15 15
 {
16 16
     /**
17
-     * @param null $datetime
17
+     * @param \DateTime|null $datetime
18 18
      *
19 19
      * @return RefreshToken[]
20 20
      */
Please login to merge, or discard this patch.