aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_versions/tests/Command/CleanupTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_versions/tests/Command/CleanupTest.php')
-rw-r--r--apps/files_versions/tests/Command/CleanupTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_versions/tests/Command/CleanupTest.php b/apps/files_versions/tests/Command/CleanupTest.php
index 021a47ed08d..8103c694879 100644
--- a/apps/files_versions/tests/Command/CleanupTest.php
+++ b/apps/files_versions/tests/Command/CleanupTest.php
@@ -111,7 +111,7 @@ class CleanupTest extends TestCase {
->getMock();
$instance->expects($this->exactly(count($userIds)))
->method('deleteVersions')
- ->willReturnCallback(function ($user) use ($userIds) {
+ ->willReturnCallback(function ($user) use ($userIds): void {
$this->assertTrue(in_array($user, $userIds));
});
@@ -150,7 +150,7 @@ class CleanupTest extends TestCase {
$instance->expects($this->exactly(count($backendUsers)))
->method('deleteVersions')
- ->willReturnCallback(function ($user) use ($backendUsers) {
+ ->willReturnCallback(function ($user) use ($backendUsers): void {
$this->assertTrue(in_array($user, $backendUsers));
});