]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(userstatus): Fix docs of user status manager 45219/head
authorJoas Schilling <coding@schilljs.com>
Tue, 7 May 2024 12:31:28 +0000 (14:31 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 7 May 2024 12:31:28 +0000 (14:31 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/public/UserStatus/IManager.php
lib/public/UserStatus/IProvider.php

index a85c1894c65bf173783d8f7252b0e5312eb0f8d0..d5d3e66257a4c5811150824a4c7a691a062bc95b 100644 (file)
@@ -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;
index 0bc31a1589df6558a9deff0f0f11cf03367234c3..77031471c9af3a50fba3f2c549f4a85771da4156 100644 (file)
@@ -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;