From 49bc5aac1026593668e236466dbdc7244643311b Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 24 Apr 2024 11:20:55 -0700 Subject: [PATCH] lint: minor fix Signed-off-by: Varun Patil --- lib/Service/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/Index.php b/lib/Service/Index.php index bf95b4ee7..bfb9a7926 100644 --- a/lib/Service/Index.php +++ b/lib/Service/Index.php @@ -182,7 +182,7 @@ public function indexFolder(Folder $folder): void $addFilter('memories_failures', 'fail', false); // Get file IDs to actually index - $fileIds = Util::transaction(static fn () => $query->executeQuery()->fetchAll(\PDO::FETCH_COLUMN)); + $fileIds = Util::transaction(static fn (): array => $query->executeQuery()->fetchAll(\PDO::FETCH_COLUMN)); // Index files foreach ($fileIds as $fileId) {