Skip to content

Commit c954aa1

Browse files
committed
minor: fix exception message
1 parent 6243772 commit c954aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Security/Security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private function getAuthenticator(?string $authenticatorName, string $firewallNa
8989
$authenticatorId = 'security.authenticator.'.$authenticatorName.'.'.$firewallName;
9090

9191
if (!$firewallAuthenticatorLocator->has($authenticatorId)) {
92-
throw new LogicException(sprintf('Unable to find an authenticator named "%s" for the firewall "%s". Available authenticators: "%s".', $authenticatorName, implode('", "', $firewallAuthenticatorLocator->getProvidedServices())));
92+
throw new LogicException(sprintf('Unable to find an authenticator named "%s" for the firewall "%s". Available authenticators: "%s".', $authenticatorName, implode('", "', array_keys($firewallAuthenticatorLocator->getProvidedServices()))));
9393
}
9494

9595
return $firewallAuthenticatorLocator->get($authenticatorId);

0 commit comments

Comments
 (0)