From 7e72866811da11672b72ae154ef725935aaa1bb5 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 28 Oct 2020 09:43:26 +0100 Subject: Type the \OCP\IUserManager::callForSeenUsers closure with Psalm Signed-off-by: Christoph Wurst --- lib/public/IUserManager.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/public') 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); -- cgit v1.2.3