From 1a4978c4ead55daa2726df5967c1377d61a57f7a Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Fri, 20 Sep 2024 17:38:36 +0200 Subject: chore: Apply rector configuration to apps folder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/oauth2/tests/Controller/SettingsControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/oauth2/tests/Controller/SettingsControllerTest.php') diff --git a/apps/oauth2/tests/Controller/SettingsControllerTest.php b/apps/oauth2/tests/Controller/SettingsControllerTest.php index 0ea23439b89..5b8a57a4062 100644 --- a/apps/oauth2/tests/Controller/SettingsControllerTest.php +++ b/apps/oauth2/tests/Controller/SettingsControllerTest.php @@ -122,7 +122,7 @@ class SettingsControllerTest extends TestCase { $userManager = \OC::$server->getUserManager(); // count other users in the db before adding our own $count = 0; - $function = function (IUser $user) use (&$count) { + $function = function (IUser $user) use (&$count): void { if ($user->getLastLogin() > 0) { $count++; } -- cgit v1.2.3