diff options
author | yemkareems <yemkareems@gmail.com> | 2024-07-04 19:13:41 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-07-08 15:42:55 +0530 |
commit | 53e3644ffb74351ebb9d9d4d87e47867e7d30612 (patch) | |
tree | 1b36817cff6f946338a639c6b9b204d1c23c34dd | |
parent | 0df1a29cf0583c249db3b440e7a44b2033d93bc5 (diff) | |
download | nextcloud-server-53e3644ffb74351ebb9d9d4d87e47867e7d30612.tar.gz nextcloud-server-53e3644ffb74351ebb9d9d4d87e47867e7d30612.zip |
fix: return type doc block added as per psalm
Signed-off-by: yemkareems <yemkareems@gmail.com>
-rw-r--r-- | lib/private/AllConfig.php | 2 | ||||
-rw-r--r-- | lib/public/IConfig.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AllConfig.php b/lib/private/AllConfig.php index b1b23ce1dd1..6b93fc9f637 100644 --- a/lib/private/AllConfig.php +++ b/lib/private/AllConfig.php @@ -497,7 +497,7 @@ class AllConfig implements IConfig { * @param int|null $limit how many users to fetch * @param int $offset from which offset to fetch * @param string $search search users based on search params - * @return list<string> list of user IDs + * @return array<string, string> list of user IDs */ public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array { // TODO - FIXME diff --git a/lib/public/IConfig.php b/lib/public/IConfig.php index 175f0e90c49..01d513fc2b1 100644 --- a/lib/public/IConfig.php +++ b/lib/public/IConfig.php @@ -256,7 +256,7 @@ interface IConfig { * @param int|null $limit how many records to fetch * @param int $offset from which offset to fetch * @param string $search search users based on search params - * @return list<string> list of user IDs + * @return array<string, string> list of user IDs * @since 30.0.0 */ public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array; |