aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Command/CleanupRemoteStorages.php')
-rw-r--r--apps/files_sharing/lib/Command/CleanupRemoteStorages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
index 2eb79f87762..259e55ff620 100644
--- a/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
+++ b/apps/files_sharing/lib/Command/CleanupRemoteStorages.php
@@ -59,7 +59,7 @@ class CleanupRemoteStorages extends Command {
);
}
- public function execute(InputInterface $input, OutputInterface $output) {
+ public function execute(InputInterface $input, OutputInterface $output): int {
$remoteStorages = $this->getRemoteStorages();
$output->writeln(count($remoteStorages) . ' remote storage(s) need(s) to be checked');
@@ -93,6 +93,7 @@ class CleanupRemoteStorages extends Command {
}
}
}
+ return 0;
}
public function countFiles($numericId, OutputInterface $output) {