fix: phpcs-fixer

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-02-05 21:32:04 +01:00
parent ba874480ee
commit c55cd62ec7
65 changed files with 346 additions and 355 deletions

View File

@@ -10,7 +10,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
readonly class ApiTokenHandler implements AccessTokenHandlerInterface
{
public function __construct(private ApiTokenRepository $apiTokenRepository)
{
@@ -24,7 +23,7 @@ readonly class ApiTokenHandler implements AccessTokenHandlerInterface
throw new BadCredentialsException();
}
if(!$token->isValid()){
if(!$token->isValid()) {
throw new CustomUserMessageAuthenticationException('Token expired');
}