From 8a189515621ea1c7ce057c5761dda4226809bb2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Tue, 28 Feb 2023 17:03:57 +0100 Subject: [PATCH] Fixed static analysis issue. --- src/Security/SamlUserFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Security/SamlUserFactory.php b/src/Security/SamlUserFactory.php index 05394306..66c4b0a5 100644 --- a/src/Security/SamlUserFactory.php +++ b/src/Security/SamlUserFactory.php @@ -91,7 +91,7 @@ class SamlUserFactory implements SamlUserFactoryInterface, EventSubscriberInterf //If needed update the group of the user and save it to DB if ($group !== $user->getGroup()) { $user->setGroup($group); - $this->em->flush($user); + $this->em->flush(); } }