summaryrefslogtreecommitdiffstats
path: root/Core/Authentication
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-11-03 15:05:48 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-11-03 15:05:48 +0100
commitc5ccd7093845abbbbef917e1cf2d37135da71c07 (patch)
tree9d5c48aba0b8ec1484323baff9402ff259a73747 /Core/Authentication
parent800a3316d1d3b8dff1428f9330f95c6acd966622 (diff)
downloadsymfony-security-c5ccd7093845abbbbef917e1cf2d37135da71c07.zip
symfony-security-c5ccd7093845abbbbef917e1cf2d37135da71c07.tar.gz
symfony-security-c5ccd7093845abbbbef917e1cf2d37135da71c07.tar.bz2
replace occurences of "an UserInteface" with "a UserInterface"
Diffstat (limited to 'Core/Authentication')
-rw-r--r--Core/Authentication/Provider/DaoAuthenticationProvider.php2
-rw-r--r--Core/Authentication/Provider/UserAuthenticationProvider.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Core/Authentication/Provider/DaoAuthenticationProvider.php b/Core/Authentication/Provider/DaoAuthenticationProvider.php
index 54cfa3d..f17eaa4 100644
--- a/Core/Authentication/Provider/DaoAuthenticationProvider.php
+++ b/Core/Authentication/Provider/DaoAuthenticationProvider.php
@@ -83,7 +83,7 @@ class DaoAuthenticationProvider extends UserAuthenticationProvider
$user = $this->userProvider->loadUserByUsername($username);
if (!$user instanceof UserInterface) {
- throw new AuthenticationServiceException('The user provider must return an UserInterface object.');
+ throw new AuthenticationServiceException('The user provider must return a UserInterface object.');
}
return $user;
diff --git a/Core/Authentication/Provider/UserAuthenticationProvider.php b/Core/Authentication/Provider/UserAuthenticationProvider.php
index 8183c62..ce78df6 100644
--- a/Core/Authentication/Provider/UserAuthenticationProvider.php
+++ b/Core/Authentication/Provider/UserAuthenticationProvider.php
@@ -67,7 +67,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter
$user = $this->retrieveUser($username, $token);
if (!$user instanceof UserInterface) {
- throw new AuthenticationServiceException('retrieveUser() must return an UserInterface.');
+ throw new AuthenticationServiceException('retrieveUser() must return a UserInterface.');
}
$this->userChecker->checkPreAuth($user);