aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/lib/Command
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-09-23 15:10:30 +0200
committerGitHub <noreply@github.com>2024-09-23 15:10:30 +0200
commit8927510685f59555cf337866370b572934e41408 (patch)
treea62f3441fce0ff3ea51455dba9a6ca0fc207933d /apps/files_versions/lib/Command
parentd4839b962bad250ab1aa1c40e16c2408ae53a8b2 (diff)
parent98efa3bda838065fb9ff5740f2688fe2b526ae2d (diff)
downloadnextcloud-server-8927510685f59555cf337866370b572934e41408.tar.gz
nextcloud-server-8927510685f59555cf337866370b572934e41408.zip
Merge pull request #48223 from nextcloud/feat/add-rector-config
Add rector config
Diffstat (limited to 'apps/files_versions/lib/Command')
-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);
});