Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jul 20, 2022
1 parent 91b75ee commit 7ff6706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hasher/PasswordHasherFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function getPasswordHasher(string|PasswordAuthenticatedUserInterface|Pass
{
$hasherKey = null;

if (($user instanceof PasswordHasherAwareInterface && null !== $hasherName = $user->getPasswordHasherName())) {
if ($user instanceof PasswordHasherAwareInterface && null !== $hasherName = $user->getPasswordHasherName()) {
if (!\array_key_exists($hasherName, $this->passwordHashers)) {
throw new \RuntimeException(sprintf('The password hasher "%s" was not configured.', $hasherName));
}
Expand Down

0 comments on commit 7ff6706

Please sign in to comment.