fix: use self failure for consistency

Signed-off-by: GreyXor <greyxor@protonmail.com>
This commit is contained in:
GreyXor 2025-01-15 00:22:24 +01:00
parent 91464caa39
commit 94e1e8f964
No known key found for this signature in database

View file

@ -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);