diff options
-rw-r--r-- | core/Command/User/Setting.php | 2 | ||||
-rw-r--r-- | tests/Core/Command/User/SettingTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/User/Setting.php b/core/Command/User/Setting.php index 72367bca96f..969e0372158 100644 --- a/core/Command/User/Setting.php +++ b/core/Command/User/Setting.php @@ -125,7 +125,7 @@ class Setting extends Base { protected function checkInput(InputInterface $input) { $uid = $input->getArgument('uid'); if (!$input->getOption('ignore-missing-user') && !$this->userManager->userExists($uid)) { - throw new \InvalidArgumentException('The user "' . $uid . '" does not exists.'); + throw new \InvalidArgumentException('The user "' . $uid . '" does not exist.'); } if ($input->getArgument('key') === '' && $input->hasParameterOption('--default-value')) { diff --git a/tests/Core/Command/User/SettingTest.php b/tests/Core/Command/User/SettingTest.php index 7d717343348..8486e7fc3ca 100644 --- a/tests/Core/Command/User/SettingTest.php +++ b/tests/Core/Command/User/SettingTest.php @@ -93,7 +93,7 @@ class SettingTest extends TestCase { [['ignore-missing-user', false]], [], null, - 'The user "username" does not exists.', + 'The user "username" does not exist.', ], [ |