Completed
Push — develop ( bf27fe...57e50b )
by Sean
10:39
created
src/Factory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Illuminate\Http\Request;
15 15
 use Illuminate\Support\Str;
16
-use Illuminate\Support\Arr;
17 16
 use Tymon\JWTAuth\Support\Utils;
18 17
 use Tymon\JWTAuth\Claims\Factory as ClaimFactory;
19 18
 use Illuminate\Support\Collection;
Please login to merge, or discard this patch.
src/Providers/Auth/Illuminate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     /**
62 62
      * Get the currently authenticated user
63 63
      *
64
-     * @return mixed
64
+     * @return \Illuminate\Contracts\Auth\Authenticatable|null
65 65
      */
66 66
     public function user()
67 67
     {
Please login to merge, or discard this patch.
src/Http/QueryString.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Try to parse the token from the request query string
29 29
      *
30
-     * @param Illuminate\Http\Request $request
30
+     * @param Request $request
31 31
      *
32 32
      * @return null|string
33 33
      */
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.
src/JWTGuard.php 1 patch
Doc Comments   +4 added lines, -4 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 = [])
80 80
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @param  array  $credentials
88 88
      *
89
-     * @return boolean
89
+     * @return string|boolean
90 90
      */
91 91
     public function attempt(array $credentials = [], $login = true)
92 92
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     /**
244 244
      * Return the currently cached user.
245 245
      *
246
-     * @return \Illuminate\Contracts\Auth\Authenticatable|null
246
+     * @return \Illuminate\Contracts\Auth\Authenticatable
247 247
      */
248 248
     public function getUser()
249 249
     {
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     /**
288 288
      * Determine if the user matches the credentials.
289 289
      *
290
-     * @param  mixed  $user
290
+     * @param  \Illuminate\Contracts\Auth\Authenticatable|null  $user
291 291
      * @param  array  $credentials
292 292
      *
293 293
      * @return boolean
Please login to merge, or discard this patch.