From a784305cc764a7e039ad87074f541db68a653a5a Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 12 Nov 2024 03:15:53 +0000 Subject: Address PHPStan findings as of 2.0.1 --- classes/Pref_Feeds.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/Pref_Feeds.php') 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>} $cat + * @var array{id: string, bare_id: int, auxcounter: int, name: string, items: array>, type: 'category', checkbox: bool, unread: int, child_unread: int} */ $cat = [ 'id' => 'CAT:0', -- cgit v1.2.3-54-g00ecf