summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-29 12:30:33 +0300
committerAndrew Dolgov <[email protected]>2021-11-29 12:30:33 +0300
commit409c63dcf8733e4ad8bb54a1f43e987b3d2f2fe5 (patch)
tree507fcac0a5a586e7130e5a642dd91ba7fffed1fa /classes/api.php
parent28fb571dca83f7785695061126aebf49bd58678e (diff)
remove mixed type hints from function arguments because we still support PHP7
Diffstat (limited to 'classes/api.php')
-rwxr-xr-xclasses/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php
index 539aa334b..213ccb7e6 100755
--- a/classes/api.php
+++ b/classes/api.php
@@ -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,