Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Fixed English for user already existing. #4

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/User/InMemoryUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(array $users = array())
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;
Expand Down