summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-10-26 09:53:03 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2013-10-26 09:53:03 +0200
commit09989b5b3bfee97a4e776dd6c80dabb080fe3f6e (patch)
tree9198240b46cb3b8ec539873a0a1260d496ba6adf
parentf2119452ff4c24fef69cded521003b58a7971319 (diff)
parentb557e6c3e9a2b77e4f51f5aeb8db27795facaa43 (diff)
downloadsymfony-security-09989b5b3bfee97a4e776dd6c80dabb080fe3f6e.zip
symfony-security-09989b5b3bfee97a4e776dd6c80dabb080fe3f6e.tar.gz
symfony-security-09989b5b3bfee97a4e776dd6c80dabb080fe3f6e.tar.bz2
Merge branch '2.3'
* 2.3: Fixed English usage for existing users. Clean up of WebProfiler Controller classes: [Process] Fix #9343 : revert file handle usage on Windows platform
-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;