8000 bug #48160 Adding missing argument to sprintf (weaverryan) · symfony/symfony@b02a689 · GitHub
[go: up one dir, main page]

Skip to content

Commit b02a689

Browse files
committed
bug #48160 Adding missing argument to sprintf (weaverryan)
This PR was merged into the 6.2 branch. Discussion ---------- Adding missing argument to sprintf | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | None | License | MIT | Doc PR | Not needed Hi! Swooping in at the last moment to be part of the wonderful 6.2 release. Cheers! Commits ------- 255eecd Adding missing argument to sprintf
2 parents fe45041 + 255eecd commit b02a689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/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)
0