Skip to content

Commit

Permalink
fix: fix sytleci error.
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-lee-lb committed Mar 27, 2021
1 parent 898b6d7 commit 01e2cc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Http/Parser/Cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/Http/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 01e2cc7

Please sign in to comment.