From 3194c224966f6764057d166f7bf9997e689d77b5 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Fri, 23 Oct 2020 13:51:30 +0200 Subject: [PATCH] [Security] Remove extra argument from call to EntityManager#flush() --- security/password_migration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/password_migration.rst b/security/password_migration.rst index 9553d46de5a..bb77a0504ab 100644 --- a/security/password_migration.rst +++ b/security/password_migration.rst @@ -190,7 +190,7 @@ storing the newly created password hash:: $user->setPassword($newEncodedPassword); // execute the queries on the database - $this->getEntityManager()->flush($user); + $this->getEntityManager()->flush(); } }