From ef4418747988de6e876563ea4bb7d9299678795a Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 12 Apr 2020 18:39:58 +0200 Subject: [PATCH] Fix code --- Security/User/EntityUserProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Security/User/EntityUserProvider.php b/Security/User/EntityUserProvider.php index 818c44a3..18034101 100644 --- a/Security/User/EntityUserProvider.php +++ b/Security/User/EntityUserProvider.php @@ -92,7 +92,7 @@ public function refreshUser(UserInterface $user) $refreshedUser = $repository->find($id); if (null === $refreshedUser) { - throw new UsernameNotFoundException('User with id '.json_encode($id).' not found.')); + throw new UsernameNotFoundException('User with id '.json_encode($id).' not found.'); } }