aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ViewStats.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-12-28 23:58:00 +0100
committerGravatar GitHub <noreply@github.com> 2024-12-28 23:58:00 +0100
commitc29cbb7b8be95fee249ed1a21dce98a4772d92e2 (patch)
treeb116f6033ea081c6cc5f82ce83156f2a7021166c /app/Models/ViewStats.php
parent33cdfbb309c61167cf1c81273eb242f94ca8f996 (diff)
Fix regressions on some array structures (#7155)
regressions from https://github.com/FreshRSS/FreshRSS/pull/7131 fix https://github.com/FreshRSS/FreshRSS/issues/7154
Diffstat (limited to 'app/Models/ViewStats.php')
-rw-r--r--app/Models/ViewStats.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/ViewStats.php b/app/Models/ViewStats.php
index e8e0a37bc..89b7d8af4 100644
--- a/app/Models/ViewStats.php
+++ b/app/Models/ViewStats.php
@@ -3,10 +3,10 @@ declare(strict_types=1);
final class FreshRSS_ViewStats extends FreshRSS_View {
- /** @var list<FreshRSS_Category> */
+ /** @var array<int,FreshRSS_Category> where the key is the category ID */
public array $categories;
public ?FreshRSS_Feed $feed = null;
- /** @var list<FreshRSS_Feed> */
+ /** @var array<int,FreshRSS_Feed> where the key is the feed ID */
public array $feeds;
public bool $displaySlider = false;