diff options
Diffstat (limited to 'Core/User')
-rw-r--r-- | Core/User/ChainUserProvider.php | 2 | ||||
-rw-r--r-- | Core/User/UserCheckerInterface.php | 4 | ||||
-rw-r--r-- | Core/User/UserInterface.php | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/Core/User/ChainUserProvider.php b/Core/User/ChainUserProvider.php index b0556f7..14a0dec 100644 --- a/Core/User/ChainUserProvider.php +++ b/Core/User/ChainUserProvider.php @@ -64,7 +64,7 @@ class ChainUserProvider implements UserProviderInterface // try next one } } - + if ($supportedUserFound) { throw new UsernameNotFoundException(sprintf('There is no user with name "%s".', $user->getUsername())); } else { diff --git a/Core/User/UserCheckerInterface.php b/Core/User/UserCheckerInterface.php index 25de94a..61f0f6e 100644 --- a/Core/User/UserCheckerInterface.php +++ b/Core/User/UserCheckerInterface.php @@ -23,14 +23,14 @@ interface UserCheckerInterface /** * Checks the user account before authentication. * - * @param UserInterface $user An UserInterface instance + * @param UserInterface $user a UserInterface instance */ function checkPreAuth(UserInterface $user); /** * Checks the user account after authentication. * - * @param UserInterface $user An UserInterface instance + * @param UserInterface $user a UserInterface instance */ function checkPostAuth(UserInterface $user); } diff --git a/Core/User/UserInterface.php b/Core/User/UserInterface.php index 9091bfc..f6356fe 100644 --- a/Core/User/UserInterface.php +++ b/Core/User/UserInterface.php @@ -48,8 +48,6 @@ interface UserInterface /** * Removes sensitive data from the user. - * - * @return void */ function eraseCredentials(); |