Add UsernameNotFoundException declaration to refreshUser().

This commit is contained in:
Stefan Kruppa 2018-03-09 12:53:31 +01:00 committed by Fabien Potencier
parent d79c528b40
commit f7a0c46338

View File

@ -58,6 +58,7 @@ interface UserProviderInterface
* @return UserInterface * @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); public function refreshUser(UserInterface $user);