aboutsummaryrefslogtreecommitdiff
path: root/classes/RSSUtils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-03-26 17:11:56 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-03-26 17:11:56 +0000
commit435c321caaf3ae7aca936f175348d9efb40d6419 (patch)
treed64d45215fa331dca8c489e9b9fbbc9e04cb5eda /classes/RSSUtils.php
parentfea3089bde5b4abfdcc8b5a0314a7f82fcf25bea (diff)
parentde00a095387499cdb5c8eb9c0ab721d67bd0b3fa (diff)
Merge branch 'feature/php84-explicit-nullable-params' into 'master'
Make implicitly nullable parameters explicitly nullable. See merge request tt-rss/tt-rss!26
Diffstat (limited to 'classes/RSSUtils.php')
-rw-r--r--classes/RSSUtils.php2
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();