aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-10-28 20:05:53 +0100
committerGitHub <noreply@github.com>2020-10-28 20:05:53 +0100
commitb5f75ccdd8ae1a22fc3289da99c4f3c445fb6ca4 (patch)
tree5a16c624b43a4fed35e42c7012683d835d9f1cca /lib/public
parent6b2cf46125343ab184e50a51cea08813f5b50997 (diff)
parent7e72866811da11672b72ae154ef725935aaa1bb5 (diff)
downloadnextcloud-server-b5f75ccdd8ae1a22fc3289da99c4f3c445fb6ca4.tar.gz
nextcloud-server-b5f75ccdd8ae1a22fc3289da99c4f3c445fb6ca4.zip
Merge pull request #23746 from nextcloud/enhancement/iusermanager-callforseenusers-typed-closure
Type the \OCP\IUserManager::callForSeenUsers closure with Psalm
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/IUserManager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/IUserManager.php b/lib/public/IUserManager.php
index baa37af8d50..e8a7fc7827d 100644
--- a/lib/public/IUserManager.php
+++ b/lib/public/IUserManager.php
@@ -179,6 +179,7 @@ interface IUserManager {
/**
* @param \Closure $callback
+ * @psalm-param \Closure(\OCP\IUser):?bool $callback
* @since 11.0.0
*/
public function callForSeenUsers(\Closure $callback);