diff options
| author | wn_ <invalid@email.com> | 2024-11-23 17:43:24 +0000 |
|---|---|---|
| committer | wn_ <invalid@email.com> | 2024-11-23 17:43:24 +0000 |
| commit | abcd0e8ba205aac8bd9006e99d783afc999af0af (patch) | |
| tree | 8635fcd5b239f18db5ff831c7ef21a290a8ac6d8 /classes/API.php | |
| parent | d4636716fb6e1879098823c2f037db5d8d3f24a0 (diff) | |
Use native union types in most places.
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, |