mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 06:25:22 +01:00
Fixed more PHPstan warnings.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user