Fix regressions on some array structures (#7155)

regressions from https://github.com/FreshRSS/FreshRSS/pull/7131
fix https://github.com/FreshRSS/FreshRSS/issues/7154
This commit is contained in:
Alexandre Alapetite
2024-12-28 23:58:00 +01:00
committed by GitHub
parent 33cdfbb309
commit c29cbb7b8b
15 changed files with 88 additions and 71 deletions

View File

@@ -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;