fix: phpcs-fixer
This commit is contained in:
parent
ba874480ee
commit
c55cd62ec7
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user