Skip to content

Commit

Permalink
Codeing standards cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tswagger committed Aug 24, 2023
1 parent 7d6955f commit 33a07c9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/Authentication/Authenticators/HMAC_SHA256.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ public function getHMACAuthTokens(?string $fullToken = null): ?array
}

return null;

}

/**
Expand Down
3 changes: 0 additions & 3 deletions src/Filters/HmacAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class HmacAuth implements FilterInterface
*/
public function before(RequestInterface $request, $arguments = null)
{

$authenticator = auth('hmac')->getAuthenticator();

helper('setting');
Expand Down Expand Up @@ -54,14 +53,12 @@ public function before(RequestInterface $request, $arguments = null)
}

return $request;

}

/**
* {@inheritDoc}
*/
public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void
{

}
}
1 change: 0 additions & 1 deletion src/Models/UserIdentityModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ public function generateHmacToken(User $user, string $name, array $scopes = ['*'

$this->checkQueryReturn($return);

/** @var AccessToken $token */
return $this
->asObject(AccessToken::class)
->find($this->getInsertID());
Expand Down

0 comments on commit 33a07c9

Please sign in to comment.