@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Authenticate a user via a token. |
108 | 108 | * |
109 | - * @param mixed $token |
|
109 | + * @param Token $token |
|
110 | 110 | * |
111 | 111 | * @return mixed |
112 | 112 | */ |
@@ -251,7 +251,7 @@ |
||
251 | 251 | /** |
252 | 252 | * Get an instantiable configuration instance. Pinched from dingo/api :) |
253 | 253 | * |
254 | - * @param mixed $instance |
|
254 | + * @param string $instance |
|
255 | 255 | * @return object |
256 | 256 | */ |
257 | 257 | protected function getConfigInstance($instance) |
@@ -2,13 +2,13 @@ |
||
2 | 2 | |
3 | 3 | namespace Tymon\JWTAuth\Providers; |
4 | 4 | |
5 | -use Tymon\JWTAuth\JWTAuth; |
|
5 | +use Illuminate\Support\ServiceProvider; |
|
6 | 6 | use Tymon\JWTAuth\Blacklist; |
7 | -use Tymon\JWTAuth\JWTManager; |
|
8 | -use Tymon\JWTAuth\PayloadFactory; |
|
9 | 7 | use Tymon\JWTAuth\Claims\Factory; |
10 | -use Illuminate\Support\ServiceProvider; |
|
11 | 8 | use Tymon\JWTAuth\Commands\JWTGenerateCommand; |
9 | +use Tymon\JWTAuth\JWTAuth; |
|
10 | +use Tymon\JWTAuth\JWTManager; |
|
11 | +use Tymon\JWTAuth\PayloadFactory; |
|
12 | 12 | use Tymon\JWTAuth\Validators\PayloadValidator; |
13 | 13 | |
14 | 14 | class JWTAuthServiceProvider extends ServiceProvider |