Completed
Push — develop ( d4e5ea...7012a0 )
by Sean
07:19
created
src/JWTGuard.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @param  array  $credentials
76 76
      *
77
-     * @return boolean
77
+     * @return string|boolean
78 78
      */
79 79
     public function validate(array $credentials = [], $login = true)
80 80
     {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     /**
135 135
      * Return the currently cached user.
136 136
      *
137
-     * @return \Illuminate\Contracts\Auth\Authenticatable|null
137
+     * @return \Illuminate\Contracts\Auth\Authenticatable
138 138
      */
139 139
     public function getUser()
140 140
     {
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * Determine if the user matches the credentials.
180 180
      *
181
-     * @param  mixed  $user
181
+     * @param  \Illuminate\Contracts\Auth\Authenticatable|null  $user
182 182
      * @param  array  $credentials
183 183
      *
184 184
      * @return boolean
Please login to merge, or discard this patch.
src/Providers/LumenServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Tymon\JWTAuth\JWTAuth;
15 15
 use Tymon\JWTAuth\Manager;
16 16
 use Tymon\JWTAuth\Factory;
17
-use Tymon\JWTAuth\JWTGuard;
18 17
 use Tymon\JWTAuth\Blacklist;
19 18
 use Tymon\JWTAuth\Http\Parser;
20 19
 use Tymon\JWTAuth\Http\AuthHeaders;
Please login to merge, or discard this patch.