Skip to content

Commit

Permalink
Update Command/ExpireGroupBase: add type declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored Jan 17, 2024
1 parent 82224ed commit 4fe8855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Command/ExpireGroup/ExpireGroupBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public function __construct() {
parent::__construct();
}

protected function configure() {
protected function configure(): void {
$this
->setName('groupfolders:expire')
->setDescription('Trigger expiration for files stored in group folders (trash and versions). Currently disabled.');
parent::configure();
}

protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
$output->writeln('<error>groupfolder expiration handling is currently disabled because there is nothing to expire. Enable the "Delete Files" or/and "Versions" app to enable this feature.</error>');
return 0;
}
Expand Down

0 comments on commit 4fe8855

Please sign in to comment.