We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4fb8af5 + 7ff6706 commit 2648948Copy full SHA for 2648948
Hasher/PasswordHasherFactory.php
@@ -40,7 +40,7 @@ public function getPasswordHasher(string|PasswordAuthenticatedUserInterface|Pass
40
{
41
$hasherKey = null;
42
43
- if (($user instanceof PasswordHasherAwareInterface && null !== $hasherName = $user->getPasswordHasherName())) {
+ if ($user instanceof PasswordHasherAwareInterface && null !== $hasherName = $user->getPasswordHasherName()) {
44
if (!\array_key_exists($hasherName, $this->passwordHashers)) {
45
throw new \RuntimeException(sprintf('The password hasher "%s" was not configured.', $hasherName));
46
}
0 commit comments