diff --git a/src/Http/Parser/Cookies.php b/src/Http/Parser/Cookies.php index b69dd944..c7ce8f25 100644 --- a/src/Http/Parser/Cookies.php +++ b/src/Http/Parser/Cookies.php @@ -11,9 +11,9 @@ namespace Tymon\JWTAuth\Http\Parser; +use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Http\Request; use Illuminate\Support\Facades\Crypt; -use Illuminate\Contracts\Encryption\DecryptException; use Tymon\JWTAuth\Contracts\Http\Parser as ParserContract; class Cookies implements ParserContract diff --git a/tests/Http/ParserTest.php b/tests/Http/ParserTest.php index d719d012..cf3a1be9 100644 --- a/tests/Http/ParserTest.php +++ b/tests/Http/ParserTest.php @@ -11,10 +11,10 @@ namespace Tymon\JWTAuth\Test\Http; +use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Http\Request; use Illuminate\Routing\Route; use Illuminate\Support\Facades\Crypt; -use Illuminate\Contracts\Encryption\DecryptException; use Mockery; use Tymon\JWTAuth\Contracts\Http\Parser as ParserContract; use Tymon\JWTAuth\Http\Parser\AuthHeaders; @@ -334,7 +334,7 @@ public function it_should_has_no_token_from_a_invalid_encrypted_cookie() ->andThrow(new DecryptException()); $this->assertSame($parser->parseToken(), null); - $this->assertTrue(!$parser->hasToken()); + $this->assertTrue(! $parser->hasToken()); } /** @test */