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
1 changed files with 2 additions and 1 deletions

View File

@ -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);