Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-28 11:43:26 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-10-28 21:21:00 +0300
commit7e72866811da11672b72ae154ef725935aaa1bb5 (patch)
tree509c3538c23bf7af660ddd17cfbe211fb72ca22f /lib/public/IUserManager.php
parent4ade7f12f263f9702fd801b483603c0005ff2d34 (diff)
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);