summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2021-11-13 04:14:18 +0000
committerwn_ <[email protected]>2021-11-13 04:16:36 +0000
commit25775bb4075e70aa4fad4620d077d4a0e59bb139 (patch)
tree40747a6a42648254788c5d1a06e2a635c18fc0a4 /classes/feeds.php
parentd3a81f598b24d6ae4f98415fac9509df6749eaf8 (diff)
Fix type of 'check_first_id' in Feeds '_format_headlines_list'.
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 24511c396..22906cb54 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -21,7 +21,7 @@ class Feeds extends Handler_Protected {
* @return array{0: array<int, int>, 1: int, 2: int, 3: bool, 4: array<string, mixed>} $topmost_article_ids, $headlines_count, $feed, $disable_cache, $reply
*/
private function _format_headlines_list(int $feed, string $method, string $view_mode, int $limit, bool $cat_view,
- int $offset, string $override_order, bool $include_children, bool $check_first_id,
+ int $offset, string $override_order, bool $include_children, ?int $check_first_id = null,
bool $skip_first_id_check, string $order_by): array {
$disable_cache = false;