aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/Models/ViewJavascript.php
diff options
context:
space:
mode:
authorAlexandre Alapetite <alexandre@alapetite.fr>2024-12-28 23:58:00 +0100
committerGitHub <noreply@github.com>2024-12-28 23:58:00 +0100
commitc29cbb7b8be95fee249ed1a21dce98a4772d92e2 (patch)
treeb116f6033ea081c6cc5f82ce83156f2a7021166c /app/Models/ViewJavascript.php
parent33cdfbb309c61167cf1c81273eb242f94ca8f996 (diff)
downloadfreshrss-c29cbb7b8be95fee249ed1a21dce98a4772d92e2.tar.gz
freshrss-c29cbb7b8be95fee249ed1a21dce98a4772d92e2.zip
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/ViewJavascript.php')
-rw-r--r--app/Models/ViewJavascript.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Models/ViewJavascript.php b/app/Models/ViewJavascript.php
index 26280627f..d7a8ca714 100644
--- a/app/Models/ViewJavascript.php
+++ b/app/Models/ViewJavascript.php
@@ -3,11 +3,11 @@ declare(strict_types=1);
final class FreshRSS_ViewJavascript extends FreshRSS_View {
- /** @var list<FreshRSS_Category> */
+ /** @var array<int,FreshRSS_Category> where the key is the category ID */
public array $categories;
- /** @var list<FreshRSS_Feed> */
+ /** @var array<int,FreshRSS_Feed> where the key is the feed ID */
public array $feeds;
- /** @var list<FreshRSS_Tag> */
+ /** @var array<int,FreshRSS_Tag> where the key is the label ID */
public array $tags;
public string $nonce;