From edd476e7fea4d763bedbb0e21385f2d58ce001d5 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 13 Nov 2021 16:00:56 +0000 Subject: [PATCH] minor: correct $cat type in Pref_Feeds#calculate_children_count() --- classes/pref/feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index ec6abf9dd..47479e124 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -1289,7 +1289,7 @@ class Pref_Feeds extends Handler_Protected { /** * @param array $cat */ - private function calculate_children_count(?array $cat): int { + private function calculate_children_count(array $cat): int { $c = 0; foreach ($cat['items'] ?? [] as $child) {