Skip to content

Commit 603331c

Browse files
committed
fix code style
1 parent 05bf54c commit 603331c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Authenticator/AbstractAuthenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ abstract class AbstractAuthenticator implements AuthenticatorInterface
3535
public function createAuthenticatedToken(PassportInterface $passport, string $firewallName): TokenInterface
3636
{
3737
if (!$passport instanceof UserPassportInterface) {
38-
throw new LogicException(sprintf('Passport does not contain a user, overwrite "createAuthenticatedToken()" in "%s" to create a custom authenticated token.', \get_class($this)));
38+
throw new LogicException(sprintf('Passport does not contain a user, overwrite "createAuthenticatedToken()" in "%s" to create a custom authenticated token.', static::class));
3939
}
4040

4141
return new PostAuthenticationToken($passport->getUser(), $firewallName, $passport->getUser()->getRoles());

0 commit comments

Comments
 (0)