From f7a0c463380f241f5392ced2f4163ef3f7e54d43 Mon Sep 17 00:00:00 2001 From: Stefan Kruppa Date: Fri, 9 Mar 2018 12:53:31 +0100 Subject: [PATCH] Add UsernameNotFoundException declaration to refreshUser(). --- .../Component/Security/Core/User/UserProviderInterface.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Core/User/UserProviderInterface.php b/src/Symfony/Component/Security/Core/User/UserProviderInterface.php index 5867e83333..b975949941 100644 --- a/src/Symfony/Component/Security/Core/User/UserProviderInterface.php +++ b/src/Symfony/Component/Security/Core/User/UserProviderInterface.php @@ -57,7 +57,8 @@ interface UserProviderInterface * * @return UserInterface * - * @throws UnsupportedUserException if the user is not supported + * @throws UnsupportedUserException if the user is not supported + * @throws UsernameNotFoundException if the user is not found */ public function refreshUser(UserInterface $user);