summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-10-26 09:52:48 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2013-10-26 09:52:48 +0200
commitb557e6c3e9a2b77e4f51f5aeb8db27795facaa43 (patch)
tree23b7158b0c643b049f284a3bb0838b825f40b82b
parenta406f17bd63a506a3db3a0198fb34709aa6dd389 (diff)
parent2833c5608dbc2e390f18f1ee515b87f07c26c80a (diff)
downloadsymfony-security-b557e6c3e9a2b77e4f51f5aeb8db27795facaa43.zip
symfony-security-b557e6c3e9a2b77e4f51f5aeb8db27795facaa43.tar.gz
symfony-security-b557e6c3e9a2b77e4f51f5aeb8db27795facaa43.tar.bz2
Merge branch '2.2' into 2.3
* 2.2: Fixed English usage for existing users. [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;