summaryrefslogtreecommitdiffstats
path: root/Core/User/InMemoryUserProvider.php
diff options
context:
space:
mode:
authorMichael Genereux <mgenereu@gmail.com>2013-10-24 12:05:50 -0700
committerFabien Potencier <fabien.potencier@gmail.com>2013-10-24 21:28:54 +0200
commit2833c5608dbc2e390f18f1ee515b87f07c26c80a (patch)
tree27ac736d59b96c05b8ac2be426e18742a636d424 /Core/User/InMemoryUserProvider.php
parent69b9208635f332d6e5eb99e43f10e927a00f9ba8 (diff)
downloadsymfony-security-2833c5608dbc2e390f18f1ee515b87f07c26c80a.zip
symfony-security-2833c5608dbc2e390f18f1ee515b87f07c26c80a.tar.gz
symfony-security-2833c5608dbc2e390f18f1ee515b87f07c26c80a.tar.bz2
Fixed English usage for existing users.
Diffstat (limited to 'Core/User/InMemoryUserProvider.php')
-rw-r--r--Core/User/InMemoryUserProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/User/InMemoryUserProvider.php b/Core/User/InMemoryUserProvider.php
index e87f80c..074c21e 100644
--- a/Core/User/InMemoryUserProvider.php
+++ b/Core/User/InMemoryUserProvider.php
@@ -56,7 +56,7 @@ class InMemoryUserProvider implements UserProviderInterface
public function createUser(UserInterface $user)
{
if (isset($this->users[strtolower($user->getUsername())])) {
- throw new \LogicException('Another user with the same username already exist.');
+ throw new \LogicException('Another user with the same username already exists.');
}
$this->users[strtolower($user->getUsername())] = $user;