Completed
Push — develop ( 7bb86a...82de8f )
by Wisoot
02:16
created
src/JwtGuard.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Remove given token from the given user
128 128
      * 
129
-     * @param $user
129
+     * @param AuthenticatableContract|null $user
130 130
      * @param Payload $payload
131 131
      */
132 132
     protected function removeUserToken($user, Payload $payload)
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Determine if the user matches the credentials.
177 177
      *
178
-     * @param mixed $user
178
+     * @param AuthenticatableContract|null $user
179 179
      * @param array $credentials
180 180
      * @return bool
181 181
      */
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
     /**
397 397
      * getToken method
398 398
      *
399
-     * @return null|string
399
+     * @return string
400 400
      */
401 401
     public function getToken()
402 402
     {
Please login to merge, or discard this patch.
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.