Skip to content

Commit

Permalink
feat: use self failure for consistancy
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyXor committed Jan 14, 2025
1 parent a8bad6a commit 52c5408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/Command/FixCalendarSyncCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function execute(InputInterface $input, OutputInterface $output): int {
$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);
Expand Down

0 comments on commit 52c5408

Please sign in to comment.