mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:55:56 +00:00
minor: correct $cat type in Pref_Feeds#calculate_children_count()
This commit is contained in:
@@ -1289,7 +1289,7 @@ class Pref_Feeds extends Handler_Protected {
|
|||||||
/**
|
/**
|
||||||
* @param array<string, mixed> $cat
|
* @param array<string, mixed> $cat
|
||||||
*/
|
*/
|
||||||
private function calculate_children_count(?array $cat): int {
|
private function calculate_children_count(array $cat): int {
|
||||||
$c = 0;
|
$c = 0;
|
||||||
|
|
||||||
foreach ($cat['items'] ?? [] as $child) {
|
foreach ($cat['items'] ?? [] as $child) {
|
||||||
|
|||||||
Reference in New Issue
Block a user