fix: use self failure for consistency

Signed-off-by: GreyXor <greyxor@protonmail.com>
pull/48800/head
GreyXor 2025-01-15 00:22:24 +07:00
parent 91464caa39
commit 94e1e8f964
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -43,7 +43,7 @@ class FixCalendarSyncCommand extends Command {
$user = $this->userManager->get($userArg);
if ($user === null) {
$output->writeln("<error>User $userArg does not exist</error>");
return 1;
return self::FAILURE;
}
$this->fixUserCalendars($user);