mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Fixed more PHPstan warnings.
This commit is contained in:
parent
775a223ab2
commit
61bd0bd15c
4 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue