From 1550776a98d85b65debaa6c44f9c63a66a136343 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 7 May 2024 14:31:28 +0200 Subject: [PATCH] fix(userstatus): Fix docs of user status manager Signed-off-by: Joas Schilling --- lib/public/UserStatus/IManager.php | 2 +- lib/public/UserStatus/IProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/public/UserStatus/IManager.php b/lib/public/UserStatus/IManager.php index a85c1894c65bf..d5d3e66257a4c 100644 --- a/lib/public/UserStatus/IManager.php +++ b/lib/public/UserStatus/IManager.php @@ -39,7 +39,7 @@ interface IManager { * Gets the statuses for all users in $users * * @param string[] $userIds - * @return IUserStatus[] + * @return array array key being the userid, users without a status will not be in the returned array * @since 20.0.0 */ public function getUserStatuses(array $userIds): array; diff --git a/lib/public/UserStatus/IProvider.php b/lib/public/UserStatus/IProvider.php index 0bc31a1589df6..77031471c9af3 100644 --- a/lib/public/UserStatus/IProvider.php +++ b/lib/public/UserStatus/IProvider.php @@ -35,7 +35,7 @@ interface IProvider { * Gets the statuses for all users in $users * * @param string[] $userIds - * @return IUserStatus[] + * @return array array key being the userid, users without a status will not be in the returned array * @since 20.0.0 */ public function getUserStatuses(array $userIds):array;