summaryrefslogtreecommitdiff
path: root/classes/feeds.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/feeds.php
parent28fb571dca83f7785695061126aebf49bd58678e (diff)
remove mixed type hints from function arguments because we still support PHP7
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index af2ee1a8c..a9afb70f2 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -21,7 +21,7 @@ class Feeds extends Handler_Protected {
* @param string|int $feed
* @return array{0: array<int, int>, 1: int, 2: int, 3: bool, 4: array<string, mixed>} $topmost_article_ids, $headlines_count, $feed, $disable_cache, $reply
*/
- private function _format_headlines_list(mixed $feed, string $method, string $view_mode, int $limit, bool $cat_view,
+ private function _format_headlines_list($feed, string $method, string $view_mode, int $limit, bool $cat_view,
int $offset, string $override_order, bool $include_children, ?int $check_first_id = null,
bool $skip_first_id_check, string $order_by): array {
@@ -1217,7 +1217,7 @@ class Feeds extends Handler_Protected {
/**
* @param string|int $id
*/
- static function _get_title(mixed $id, bool $cat = false): string {
+ static function _get_title($id, bool $cat = false): string {
$pdo = Db::pdo();
if ($cat) {