diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-11-24 06:36:58 +0000 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-11-24 06:36:58 +0000 |
| commit | 7892b412348c03f2b6733a326776a47d980fd7f6 (patch) | |
| tree | 8635fcd5b239f18db5ff831c7ef21a290a8ac6d8 /classes/API.php | |
| parent | d4636716fb6e1879098823c2f037db5d8d3f24a0 (diff) | |
| parent | abcd0e8ba205aac8bd9006e99d783afc999af0af (diff) | |
Merge branch 'feature/php8-union-types' into 'master'
Use native union types in most places.
See merge request tt-rss/tt-rss!80
Diffstat (limited to 'classes/API.php')
| -rw-r--r-- | classes/API.php | 3 |
1 files changed, 1 insertions, 2 deletions
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<int, array<string, mixed>>, 1: array<string, mixed>} $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, |