Fixed more PHPstan warnings.

This commit is contained in:
Jan Böhmer 2022-03-04 18:37:42 +01:00
parent 775a223ab2
commit 61bd0bd15c
4 changed files with 4 additions and 2 deletions

View file

@ -106,7 +106,7 @@ final class UserRepository extends NamedDBElementRepository implements PasswordU
{
if ($user instanceof User) {
$user->setPassword($newEncodedPassword);
$this->getEntityManager()->flush($user);
$this->getEntityManager()->flush();
}
}
}