diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-09-20 17:38:36 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-09-20 17:51:00 +0200 |
commit | 1a4978c4ead55daa2726df5967c1377d61a57f7a (patch) | |
tree | 88c8a82ed52b8698be9e0cd4e9cef29b3c0d8ea1 /apps/dav/lib/HookManager.php | |
parent | 6db9cbfdeb7dd475a258c1c2f2c163c41856d6c2 (diff) | |
download | nextcloud-server-1a4978c4ead55daa2726df5967c1377d61a57f7a.tar.gz nextcloud-server-1a4978c4ead55daa2726df5967c1377d61a57f7a.zip |
chore: Apply rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/HookManager.php')
-rw-r--r-- | apps/dav/lib/HookManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index e3f18febb80..f717752038a 100644 --- a/apps/dav/lib/HookManager.php +++ b/apps/dav/lib/HookManager.php @@ -62,7 +62,7 @@ class HookManager { 'post_createUser', $this, 'postCreateUser'); - \OC::$server->getUserManager()->listen('\OC\User', 'assignedUserId', function ($uid) { + \OC::$server->getUserManager()->listen('\OC\User', 'assignedUserId', function ($uid): void { $this->postCreateUser(['uid' => $uid]); }); Util::connectHook('OC_User', @@ -74,7 +74,7 @@ class HookManager { 'post_deleteUser', $this, 'postDeleteUser'); - \OC::$server->getUserManager()->listen('\OC\User', 'postUnassignedUserId', function ($uid) { + \OC::$server->getUserManager()->listen('\OC\User', 'postUnassignedUserId', function ($uid): void { $this->postDeleteUser(['uid' => $uid]); }); \OC::$server->getUserManager()->listen('\OC\User', 'postUnassignedUserId', [$this, 'postUnassignedUserId']); |