From 53e3644ffb74351ebb9d9d4d87e47867e7d30612 Mon Sep 17 00:00:00 2001 From: yemkareems Date: Thu, 4 Jul 2024 19:13:41 +0530 Subject: [PATCH] fix: return type doc block added as per psalm Signed-off-by: yemkareems --- lib/private/AllConfig.php | 2 +- 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 list of user IDs + * @return array 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 list of user IDs + * @return array list of user IDs * @since 30.0.0 */ public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string $search = ''): array;