From 50adb559823f935582f3ed308b8d4352c5f216ed Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 8 Jan 2025 13:26:09 +0100 Subject: Add some missing PHP native types (#7191) * Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types --- app/Models/EntryDAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/EntryDAO.php') diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 6075b0759..c169e0e24 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -344,7 +344,7 @@ SQL; * * @param numeric-string|list $ids */ - public function markFavorite($ids, bool $is_favorite = true): int|false { + public function markFavorite(string|array $ids, bool $is_favorite = true): int|false { if (!is_array($ids)) { $ids = [$ids]; } -- cgit v1.2.3