aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-04-24 11:34:02 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-24 11:34:02 +0200
commitcc03cee746c158eb38e13758e378b2d1ace20629 (patch)
tree268893a49d249a2ebd5d2fc687d5cf0a1829e15d /app/Models/Entry.php
parent115724622fa32e1b7981e378e87ccfb770450cb1 (diff)
Fix starred import (#5332)
Fix https://github.com/FreshRSS/FreshRSS/issues/5331
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php2
1 files changed, 1 insertions, 1 deletions
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);