aboutsummaryrefslogtreecommitdiff
path: root/classes/Pref_Feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-11-13 18:38:32 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-11-13 18:38:32 +0000
commit394d606fe977a331f733c62e5509469c2eb3ef31 (patch)
tree27832a131eafec209a8de1361c35c69baa45231f /classes/Pref_Feeds.php
parent6273e26ea463e2762f2d736455f4912de7171cfa (diff)
parent859ce4d7f69a46716a10eacc485ffaf9867a76d4 (diff)
Merge branch 'feature/phpstan-2.0.x' into 'master'
PHPStan 2.0.x See merge request tt-rss/tt-rss!74
Diffstat (limited to 'classes/Pref_Feeds.php')
-rw-r--r--classes/Pref_Feeds.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/Pref_Feeds.php b/classes/Pref_Feeds.php
index 5ca557c84..8101b9531 100644
--- a/classes/Pref_Feeds.php
+++ b/classes/Pref_Feeds.php
@@ -240,8 +240,7 @@ class Pref_Feeds extends Handler_Protected {
/**
* Uncategorized is a special case.
*
- * Define a minimal array shape to help PHPStan with the type of $cat['items']
- * @var array{items: array<int, array<string, mixed>>} $cat
+ * @var array{id: string, bare_id: int, auxcounter: int, name: string, items: array<int, array<string, mixed>>, type: 'category', checkbox: bool, unread: int, child_unread: int}
*/
$cat = [
'id' => 'CAT:0',