summaryrefslogtreecommitdiffstats
path: root/lib/public/IUserManager.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-28 09:43:26 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-28 19:21:00 +0100
commit7e72866811da11672b72ae154ef725935aaa1bb5 (patch)
tree509c3538c23bf7af660ddd17cfbe211fb72ca22f /lib/public/IUserManager.php
parent4ade7f12f263f9702fd801b483603c0005ff2d34 (diff)
downloadnextcloud-server-7e72866811da11672b72ae154ef725935aaa1bb5.tar.gz
nextcloud-server-7e72866811da11672b72ae154ef725935aaa1bb5.zip
Type the \OCP\IUserManager::callForSeenUsers closure with Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/IUserManager.php')
-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);