From 4fe88550449fe6ddabc2ac25485a18d5b49c6114 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 17 Jan 2024 11:02:18 -0500 Subject: [PATCH] Update Command/ExpireGroupBase: add type declarations Signed-off-by: Josh --- lib/Command/ExpireGroup/ExpireGroupBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }