From 1cf9a1ab7c31f73378ffe0660fa6784ccdaf90f5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 16 May 2019 18:10:42 -0400 Subject: [PATCH] Allow null $tags parameter in ActivityPub\Processor::constructTagString --- src/Protocol/ActivityPub/Processor.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index b6f3486a25..70728edc9e 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -64,10 +64,9 @@ class Processor * * @param array $tags * @param boolean $sensitive - * @param array $implicit_mentions List of profile URLs to skip * @return string with tags */ - private static function constructTagString(array $tags, $sensitive) + private static function constructTagString(array $tags = null, $sensitive = false) { if (empty($tags)) { return ''; -- 2.39.5