From c29cbb7b8be95fee249ed1a21dce98a4772d92e2 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 28 Dec 2024 23:58:00 +0100 Subject: Fix regressions on some array structures (#7155) regressions from https://github.com/FreshRSS/FreshRSS/pull/7131 fix https://github.com/FreshRSS/FreshRSS/issues/7154 --- app/Models/View.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/Models/View.php') diff --git a/app/Models/View.php b/app/Models/View.php index aad512a39..943c50055 100644 --- a/app/Models/View.php +++ b/app/Models/View.php @@ -10,7 +10,7 @@ class FreshRSS_View extends Minz_View { public $callbackBeforeFeeds; /** @var callable */ public $callbackBeforePagination; - /** @var list */ + /** @var array where the key is the category ID */ public array $categories; public ?FreshRSS_Category $category = null; public ?FreshRSS_Tag $tag = null; @@ -19,10 +19,10 @@ class FreshRSS_View extends Minz_View { public $entries; public ?FreshRSS_Entry $entry = null; public ?FreshRSS_Feed $feed = null; - /** @var list */ + /** @var array where the key is the feed ID */ public array $feeds; public int $nbUnreadTags; - /** @var list */ + /** @var array where the key is the label ID */ public array $tags; /** @var array */ public array $tagsForEntry; @@ -70,7 +70,7 @@ class FreshRSS_View extends Minz_View { public array $list_keys; // User queries - /** @var array */ + /** @var array where the key is the query ID */ public array $queries; /** @var FreshRSS_UserQuery|null */ public ?FreshRSS_UserQuery $query = null; -- cgit v1.2.3