Completed
Push — develop ( c4148f...63805f )
by Wisoot
02:49
created
src/JwtGuard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Determine if the user matches the credentials.
144 144
      *
145
-     * @param mixed $user
145
+     * @param AuthenticatableContract|null $user
146 146
      * @param array $credentials
147 147
      * @return bool
148 148
      */
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
     /**
326 326
      * getToken method
327 327
      *
328
-     * @return null|string
328
+     * @return string
329 329
      */
330 330
     public function getToken()
331 331
     {
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
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * getEntityFromToken method
57 57
      *
58 58
      * @param string $token
59
-     * @return mixed
59
+     * @return Claim
60 60
      * @throws InaccessibleException
61 61
      * @throws MalformedException
62 62
      * @throws TokenExpiredException
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * getValidClaimFromToken method
130 130
      *
131
-     * @param $token
131
+     * @param string $token
132 132
      * @return Claim
133 133
      * @throws MalformedException
134 134
      * @throws TokenExpiredException
Please login to merge, or discard this patch.