From de00a095387499cdb5c8eb9c0ab721d67bd0b3fa Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 26 Mar 2024 16:38:05 +0000 Subject: Make implicit nullable parameters explicitly nullable. This is to address a deprecation planned for PHP 8.4. https://wiki.php.net/rfc/deprecate-implicitly-nullable-types --- classes/RSSUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/RSSUtils.php') diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index a2bd36a75..68cbfd26a 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -1511,7 +1511,7 @@ class RSSUtils { * * @return array> An array of filter action arrays with keys "type" and "param" */ - static function get_article_filters(array $filters, string $title, string $content, string $link, string $author, array $tags, array &$matched_rules = null, array &$matched_filters = null): array { + static function get_article_filters(array $filters, string $title, string $content, string $link, string $author, array $tags, ?array &$matched_rules = null, ?array &$matched_filters = null): array { $span = Tracer::start(__METHOD__); $matches = array(); -- cgit v1.2.3