1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-01 18:49:16 +00:00

Address PHPStan warnings in 'classes/feeds.php'.

Also some minor related tweaks in other classes.
This commit is contained in:
wn_
2021-11-12 04:48:06 +00:00
parent 5606e38bff
commit 763515de79
4 changed files with 191 additions and 124 deletions

View File

@@ -227,7 +227,7 @@ class RPC extends Handler_Protected {
$search_query = clean($_REQUEST['search_query']);
$search_lang = clean($_REQUEST['search_lang']);
Feeds::_catchup($feed_id, $is_cat, false, $mode, [$search_query, $search_lang]);
Feeds::_catchup($feed_id, $is_cat, null, $mode, [$search_query, $search_lang]);
// return counters here synchronously so that frontend can figure out next unread feed properly
print json_encode(['counters' => Counters::get_all()]);