summaryrefslogtreecommitdiff
path: root/app/Models/View.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/View.php')
-rw-r--r--app/Models/View.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Models/View.php b/app/Models/View.php
index c586d8632..244379505 100644
--- a/app/Models/View.php
+++ b/app/Models/View.php
@@ -17,8 +17,8 @@ class FreshRSS_View extends Minz_View {
public string $current_user;
/** @var iterable<FreshRSS_Entry> */
public $entries;
- public FreshRSS_Entry $entry;
- public FreshRSS_Feed $feed;
+ public ?FreshRSS_Entry $entry = null;
+ public ?FreshRSS_Feed $feed = null;
/** @var array<int,FreshRSS_Feed> */
public array $feeds;
public int $nbUnreadTags;
@@ -30,7 +30,7 @@ class FreshRSS_View extends Minz_View {
public array $tagsForEntries;
public bool $excludeMutedFeeds;
- // Substriptions
+ // Subscriptions
public bool $displaySlider = false;
public bool $load_ok;
public bool $onlyFeedsWithError;