Release 2.20.0 (#4987)
This commit is contained in:
@@ -136,7 +136,7 @@ class UserService
|
||||
$user = $this->findUserByName($username);
|
||||
|
||||
if ($user === null) {
|
||||
throw new \InvalidArgumentException(sprintf('User identified by "%s" username does not exist.', $username));
|
||||
throw new \InvalidArgumentException(\sprintf('User identified by "%s" username does not exist.', $username));
|
||||
}
|
||||
|
||||
return $user;
|
||||
|
||||
Reference in New Issue
Block a user