style: apply php-cs-fixer formatting (PSR-12)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2026-03-09 20:46:59 +01:00
parent dae215dd3d
commit 7506a7a3c1
234 changed files with 447 additions and 370 deletions

View File

@@ -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');
}