aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Command/ExpireVersions.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/lib/Command/ExpireVersions.php')
-rw-r--r--apps/files_versions/lib/Command/ExpireVersions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/Command/ExpireVersions.php b/apps/files_versions/lib/Command/ExpireVersions.php
index f8f4e7ce952..d37a6a40b70 100644
--- a/apps/files_versions/lib/Command/ExpireVersions.php
+++ b/apps/files_versions/lib/Command/ExpireVersions.php
@@ -59,7 +59,7 @@ class ExpireVersions extends Command {
$p = new ProgressBar($output);
$p->start();
- $this->userManager->callForSeenUsers(function (IUser $user) use ($p) {
+ $this->userManager->callForSeenUsers(function (IUser $user) use ($p): void {
$p->advance();
$this->expireVersionsForUser($user);
});