Skip to content

Commit

Permalink
pass linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroendelau committed Sep 12, 2024
1 parent 7be8ad7 commit aae249e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Objects/Values/SessionToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ protected function verifySignature(): void
*/
protected function verifyValidity(): void
{
if($this->tokenSource === SessionTokenSource::APP) {
if ($this->tokenSource === SessionTokenSource::APP) {
Assert::that($this->iss)->contains($this->dest, self::EXCEPTION_INVALID);
}

Expand All @@ -398,7 +398,7 @@ protected function verifyExpiration(): void

protected function determineTokenSource(array $body): int
{
if(!isset($body['iss']) && !isset($body['sid'])) {
if (!isset($body['iss']) && !isset($body['sid'])) {
return SessionTokenSource::CHECKOUT_EXTENSION;
}

Expand Down
1 change: 0 additions & 1 deletion tests/Objects/Values/SessionTokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public function testShouldProcessForValidCheckoutExtensionToken(): void

$this->assertSame('', $st->getIssuer());
$this->assertSame('', $st->getSubject());

}

public function testShouldProcessForValidToken(): void
Expand Down

0 comments on commit aae249e

Please sign in to comment.