diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2024-05-08 09:23:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 09:23:54 +0200 |
commit | 72470e33be052ef7803e9fff944da0dec9042755 (patch) | |
tree | 73f6e8a3fd9af823262ea4dfe7cd2ac0cd88910a | |
parent | fd78481fd5408c216dfef0c249ff63b8cd64b1d3 (diff) | |
parent | 02ebbfb4eab6bddb7ec4c8eac5eebd1cd3c063be (diff) | |
download | nextcloud-server-72470e33be052ef7803e9fff944da0dec9042755.tar.gz nextcloud-server-72470e33be052ef7803e9fff944da0dec9042755.zip |
Merge pull request #45219 from nextcloud/bugfix/noid/fix-user-status-manager-docs
fix(userstatus): Fix docs of user status manager
-rw-r--r-- | lib/public/UserStatus/IManager.php | 2 | ||||
-rw-r--r-- | 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 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; |