From cc03cee746c158eb38e13758e378b2d1ace20629 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 24 Apr 2023 11:34:02 +0200 Subject: Fix starred import (#5332) Fix https://github.com/FreshRSS/FreshRSS/issues/5331 --- app/Models/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models') diff --git a/app/Models/Entry.php b/app/Models/Entry.php index accd13c27..83ccf6552 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -42,7 +42,7 @@ class FreshRSS_Entry extends Minz_Model { * @param int|string $pubdate */ public function __construct(int $feedId = 0, string $guid = '', string $title = '', string $authors = '', string $content = '', - string $link = '', $pubdate = 0, bool $is_read = false, bool $is_favorite = false, string $tags = '') { + string $link = '', $pubdate = 0, ?bool $is_read = false, ?bool $is_favorite = false, string $tags = '') { $this->_title($title); $this->_authors($authors); $this->_content($content); -- cgit v1.2.3