diff --git a/core/Command/User/Setting.php b/core/Command/User/Setting.php index 72367bca96f3f..969e037215853 100644 --- a/core/Command/User/Setting.php +++ b/core/Command/User/Setting.php @@ -125,7 +125,7 @@ protected function configure() { 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 7d717343348ef..8486e7fc3ca6b 100644 --- a/tests/Core/Command/User/SettingTest.php +++ b/tests/Core/Command/User/SettingTest.php @@ -93,7 +93,7 @@ public function dataCheckInput() { [['ignore-missing-user', false]], [], null, - 'The user "username" does not exists.', + 'The user "username" does not exist.', ], [