Skip to content

Commit

Permalink
ExpireGroupVersionsTrash: 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 0231ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Command/ExpireGroup/ExpireGroupVersionsTrash.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ public function __construct(
$this->expiration = $expiration;
}

protected function configure() {
protected function configure(): void {
parent::configure();
$this
->setName('groupfolders:expire')
->setDescription('Trigger expiry of versions and trashbin for files stored in group folders');
}

protected function execute(InputInterface $input, OutputInterface $output) {
protected function execute(InputInterface $input, OutputInterface $output): int {
parent::execute($input, $output);

[$count, $size] = $this->trashBackend->expire($this->expiration);
Expand Down

0 comments on commit 0231ff2

Please sign in to comment.