Test Failed
Pull Request — master (#62)
by
unknown
05:03
created
Entity/RefreshToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     /**
114 114
      * Get valid.
115 115
      *
116
-     * @return \DateTime
116
+     * @return string
117 117
      */
118 118
     public function getValid()
119 119
     {
Please login to merge, or discard this patch.
Model/RefreshTokenInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     /**
68 68
      * Get user.
69 69
      *
70
-     * @return $username
70
+     * @return string
71 71
      */
72 72
     public function getUsername();
73 73
 
Please login to merge, or discard this patch.
EventListener/AttachRefreshTokenOnSuccessListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Service/RefreshToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      *
50 50
      * @param Request $request
51 51
      *
52
-     * @return mixed
52
+     * @return \Symfony\Component\HttpFoundation\Response|\Lexik\Bundle\JWTAuthenticationBundle\Response\JWTAuthenticationSuccessResponse
53 53
      *
54 54
      * @throws AuthenticationException
55 55
      */
Please login to merge, or discard this patch.
Event/AddTokenResponseEvent.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -19,9 +19,17 @@
 block discarded – undo
19 19
 		$this->token = $token;
20 20
 		$this->response = $response;
21 21
 	}
22
+
23
+	/**
24
+	 * @return null|string
25
+	 */
22 26
 	public function getToken(){
23 27
 		return $this->token;
24 28
 	}
29
+
30
+	/**
31
+	 * @return null|string
32
+	 */
25 33
 	public function getResponse(){
26 34
 		return $this->response;
27 35
 	}
Please login to merge, or discard this patch.