Merge pull request #18641 from HarHarLinks/patch-1

Fix typo in occ
This commit is contained in:
Roeland Jago Douma 2020-01-05 13:48:13 +01:00 committed by GitHub
commit d7fdab0c01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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')) {

View File

@ -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.',
],
[