Completed
Push — develop ( 7bb86a...82de8f )
by Wisoot
02:16
created
src/JwtService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * getTokenForUser method
36 36
      *
37 37
      * @param Authenticatable $user
38
-     * @return null|string
38
+     * @return string
39 39
      */
40 40
     public function getTokenForUser(Authenticatable $user)
41 41
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * getTokenForUser method
91 91
      *
92 92
      * @param Claim $claim
93
-     * @return null|string
93
+     * @return string
94 94
      */
95 95
     protected function getTokenForClaim(Claim $claim)
96 96
     {
Please login to merge, or discard this patch.
src/TokenManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      * add claim to the white list
32 32
      *
33 33
      * @param Claim $claim
34
-     * @return bool
34
+     * @return boolean|null
35 35
      */
36 36
     public function add(Claim $claim)
37 37
     {
Please login to merge, or discard this patch.
src/Claim.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         }
62 62
 
63 63
         if (empty($this->jti)) {
64
-            $this->jti = md5("{$this->sub}.{$this->iat}." . rand(1000, 1999));
64
+            $this->jti = md5("{$this->sub}.{$this->iat}.".rand(1000, 1999));
65 65
         }
66 66
     }
67 67
 
Please login to merge, or discard this patch.