Skip to content

Commit 411ea7d

Browse files
committed
Remove usage of constant for better consistency across the codebase
1 parent 823f285 commit 411ea7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Command/CachePoolInvalidateTagsCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9292
if ($errors) {
9393
$io->error('Done but with errors.');
9494

95-
return self::FAILURE;
95+
return 2;
9696
}
9797

9898
$io->success('Successfully invalidated cache tags.');
9999

100-
return self::SUCCESS;
100+
return 0;
101101
}
102102

103103
public function complete(CompletionInput $input, CompletionSuggestions $suggestions): void

0 commit comments

Comments
 (0)