@@ -5,10 +5,8 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | namespace Canis\Lumen\Jwt\Adapters\Lcobucci; |
| 7 | 7 | |
| 8 | -use Lcobucci\JWT\ValidationData; |
|
| 9 | 8 | use Lcobucci\JWT\Builder; |
| 10 | 9 | use Lcobucci\JWT\Signer\Hmac\Sha256; |
| 11 | -use Lcobucci\JWT\Parser; |
|
| 12 | 10 | use Lcobucci\JWT\Token; |
| 13 | 11 | use Canis\Lumen\Jwt\Contracts\Generator as GeneratorContract; |
| 14 | 12 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | if (class_exists($config['adapter'])) { |
| 40 | 40 | $factoryClass = $config['adapter']; |
| 41 | 41 | } else { |
| 42 | - $factoryClass = 'Canis\Lumen\Jwt\Adapters\\' . ucfirst($config['adapter']) .'\Factory'; |
|
| 42 | + $factoryClass = 'Canis\Lumen\Jwt\Adapters\\' . ucfirst($config['adapter']) . '\Factory'; |
|
| 43 | 43 | if (!class_exists($factoryClass)) { |
| 44 | 44 | throw new InvalidAdapterException("{$config['adapter']} is not available"); |
| 45 | 45 | } |