diff --git a/lib/Command/ExpireGroup/ExpireGroupBase.php b/lib/Command/ExpireGroup/ExpireGroupBase.php index 117e1d76c..36c8749a8 100644 --- a/lib/Command/ExpireGroup/ExpireGroupBase.php +++ b/lib/Command/ExpireGroup/ExpireGroupBase.php @@ -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('groupfolder expiration handling is currently disabled because there is nothing to expire. Enable the "Delete Files" or/and "Versions" app to enable this feature.'); return 0; }