aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-01-08 13:26:09 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-08 13:26:09 +0100
commit50adb559823f935582f3ed308b8d4352c5f216ed (patch)
tree74f09efadfcaf28f82505e791e267596f4026053 /app/Models/EntryDAO.php
parentfa701b39f3775ac4250a82fabcec8970b446789b (diff)
Add some missing PHP native types (#7191)
* Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
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<numeric-string> $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];
}