aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-05-08 20:55:00 +0200
committerGitHub <noreply@github.com>2024-05-08 20:55:00 +0200
commitd3ac7823994ac1b665963f42b569ae21496b27f0 (patch)
treeb9e61ef09a57799148a2abf97253c82f97d08655
parent2967c214656009c99a09b2df6544ca7faeaabc0d (diff)
parent1550776a98d85b65debaa6c44f9c63a66a136343 (diff)
downloadnextcloud-server-d3ac7823994ac1b665963f42b569ae21496b27f0.tar.gz
nextcloud-server-d3ac7823994ac1b665963f42b569ae21496b27f0.zip
Merge pull request #45230 from nextcloud/backport/45219/stable28
[stable28] fix(userstatus): Fix docs of user status manager
-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 a85c1894c65..d5d3e66257a 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;