summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-05-07 14:31:28 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-05-08 07:25:15 +0000
commitad12a80ecc29f78206bed5fb8776f07392e4dff2 (patch)
tree5967049a894f0000605e61073f06773d547768c6
parent0507be52d127a01b54c2a5a7fb67ca1503048e34 (diff)
downloadnextcloud-server-ad12a80ecc29f78206bed5fb8776f07392e4dff2.tar.gz
nextcloud-server-ad12a80ecc29f78206bed5fb8776f07392e4dff2.zip
fix(userstatus): Fix docs of user status manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/public/UserStatus/IManager.php2
-rw-r--r--lib/public/UserStatus/IProvider.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/UserStatus/IManager.php b/lib/public/UserStatus/IManager.php
index 9cc8eaad8ee..83aaeca62c3 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<string, IUserStatus> 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 0bc31a1589d..77031471c9a 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<string, IUserStatus> 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;