From abcd0e8ba205aac8bd9006e99d783afc999af0af Mon Sep 17 00:00:00 2001 From: wn_ Date: Sat, 23 Nov 2024 17:43:24 +0000 Subject: Use native union types in most places. --- classes/API.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/API.php') diff --git a/classes/API.php b/classes/API.php index ad16f82fe..290c813ed 100644 --- a/classes/API.php +++ b/classes/API.php @@ -655,10 +655,9 @@ class API extends Handler { } /** - * @param string|int $feed_id * @return array{0: array>, 1: array} $headlines, $headlines_header */ - private static function _api_get_headlines($feed_id, int $limit, int $offset, + private static function _api_get_headlines(int|string $feed_id, int $limit, int $offset, string $filter, bool $is_cat, bool $show_excerpt, bool $show_content, ?string $view_mode, string $order, bool $include_attachments, int $since_id, string $search = "", bool $include_nested = false, bool $sanitize_content = true, bool $force_update = false, int $excerpt_length = 100, ?int $check_first_id = null, -- cgit v1.2.3-54-g00ecf