Completed
Push — master ( 89670e...896e52 )
by Jacob
02:12
created
src/Adapters/Lcobucci/Processor.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@
 block discarded – undo
7 7
 
8 8
 use Canis\Lumen\Jwt\Token;
9 9
 use Canis\Lumen\Jwt\Contracts\Processor as ProcessorContract;
10
-use Canis\Lumen\Jwt\Exceptions\InvalidTokenException;
11 10
 use Lcobucci\JWT\ValidationData;
12
-use Lcobucci\JWT\Builder;
13 11
 use Lcobucci\JWT\Signer\Hmac\Sha256;
14 12
 use Lcobucci\JWT\Parser;
15 13
 
Please login to merge, or discard this patch.
src/BaseGuard.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Returns a token generator from the adapter factory
93 93
      * 
94
-     * @return GeneratorCotnract
94
+     * @return GeneratorContract
95 95
      */
96 96
     protected function getGenerator()
97 97
     {
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * Determine if the user matches the credentials.
160 160
      *
161
-     * @param  mixed  $user
161
+     * @param  Authenticatable|null  $user
162 162
      * @param  array  $credentials
163 163
      * @return bool
164 164
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,17 +5,14 @@
 block discarded – undo
5 5
  */
6 6
 namespace Canis\Lumen\Jwt;
7 7
 
8
-use Auth;
9 8
 use Illuminate\Http\Request;
10 9
 use Illuminate\Support\Str;
11 10
 use Illuminate\Auth\GuardHelpers;
12 11
 use Illuminate\Contracts\Auth\UserProvider;
13 12
 use Illuminate\Contracts\Auth\Guard as GaurdContract;
14
-use Illuminate\Contracts\Auth\Authenticatable;
15 13
 use Canis\Lumen\Jwt\Exceptions\InvalidTokenException;
16 14
 use Canis\Lumen\Jwt\Exceptions\InvalidAdapterException;
17 15
 use Canis\Lumen\Jwt\Contracts\AdapterFactory as AdapterFactoryContract;
18
-use Canis\Lumen\Jwt\Contracts\Generator as GeneratorContract;
19 16
 use Canis\Lumen\Jwt\Contracts\Processor as ProcessorContract;
20 17
 
21 18
 abstract class BaseGuard
Please login to merge, or discard this patch.