diff options
author | wn_ <[email protected]> | 2024-03-26 16:38:05 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2024-03-26 16:43:39 +0000 |
commit | de00a095387499cdb5c8eb9c0ab721d67bd0b3fa (patch) | |
tree | d64d45215fa331dca8c489e9b9fbbc9e04cb5eda /classes/RSSUtils.php | |
parent | fea3089bde5b4abfdcc8b5a0314a7f82fcf25bea (diff) |
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
Diffstat (limited to 'classes/RSSUtils.php')
-rw-r--r-- | classes/RSSUtils.php | 2 |
1 files changed, 1 insertions, 1 deletions
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<int, array<string, string>> 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(); |