Skip to content

Commit 3194c22

Browse files
committed
[Security] Remove extra argument from call to EntityManager#flush()
1 parent 2f25a69 commit 3194c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/password_migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ storing the newly created password hash::
190190
$user->setPassword($newEncodedPassword);
191191

192192
// execute the queries on the database
193-
$this->getEntityManager()->flush($user);
193+
$this->getEntityManager()->flush();
194194
}
195195
}
196196

0 commit comments

Comments
 (0)