Skip to content

Commit e7e746c

Browse files
committed
Leverage class name literal on object
1 parent 287e21a commit e7e746c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/CheckLdapCredentialsListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function onCheckPassport(CheckPassportEvent $event)
5050
}
5151

5252
if (!$passport->hasBadge(PasswordCredentials::class)) {
53-
throw new \LogicException(sprintf('LDAP authentication requires a passport containing password credentials, authenticator "%s" does not fulfill these requirements.', \get_class($event->getAuthenticator())));
53+
throw new \LogicException(sprintf('LDAP authentication requires a passport containing password credentials, authenticator "%s" does not fulfill these requirements.', $event->getAuthenticator()::class));
5454
}
5555

5656
/** @var PasswordCredentials $passwordCredentials */

0 commit comments

Comments
 (0)