1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:45:56 +00:00

remove mixed type hints from function arguments because we still support PHP7

This commit is contained in:
Andrew Dolgov
2021-11-29 12:30:33 +03:00
parent 28fb571dca
commit 409c63dcf8
2 changed files with 3 additions and 3 deletions

View File

@@ -633,7 +633,7 @@ 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(mixed $feed_id, int $limit, int $offset,
private static function _api_get_headlines($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,