Skip to content

Commit 706d8cc

Browse files
committed
Adding missing argument to sprintf
1 parent ec12e41 commit 706d8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security.php

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

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

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

0 commit comments

Comments
 (0)