Skip to content

Commit

Permalink
Merge pull request #18641 from HarHarLinks/patch-1
Browse files Browse the repository at this point in the history
Fix typo in occ
  • Loading branch information
rullzer authored Jan 5, 2020
2 parents 9b7c8ca + 9c5fe8f commit d7fdab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/Command/User/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Core/Command/User/SettingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function dataCheckInput() {
[['ignore-missing-user', false]],
[],
null,
'The user "username" does not exists.',
'The user "username" does not exist.',
],

[
Expand Down

0 comments on commit d7fdab0

Please sign in to comment.