style: apply php-cs-fixer formatting (PSR-12)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dae215dd3d
commit
7506a7a3c1
@@ -19,11 +19,11 @@ readonly class ApiTokenHandler implements AccessTokenHandlerInterface
|
||||
{
|
||||
$token = $this->apiTokenRepository->findOneBy(['token' => $accessToken]);
|
||||
|
||||
if(!$token) {
|
||||
if (!$token) {
|
||||
throw new BadCredentialsException();
|
||||
}
|
||||
|
||||
if(!$token->isValid()) {
|
||||
if (!$token->isValid()) {
|
||||
throw new CustomUserMessageAuthenticationException('Token expired');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user