minor: correct $cat type in Pref_Feeds#calculate_children_count()

This commit is contained in:
wn_ 2021-11-13 16:00:56 +00:00
parent a18473e4c0
commit edd476e7fe
1 changed files with 1 additions and 1 deletions

View File

@ -1289,7 +1289,7 @@ class Pref_Feeds extends Handler_Protected {
/**
* @param array<string, mixed> $cat
*/
private function calculate_children_count(?array $cat): int {
private function calculate_children_count(array $cat): int {
$c = 0;
foreach ($cat['items'] ?? [] as $child) {