From: Hypolite Petovan Date: Thu, 16 May 2019 22:10:42 +0000 (-0400) Subject: Allow null $tags parameter in ActivityPub\Processor::constructTagString X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1cf9a1ab7c31f73378ffe0660fa6784ccdaf90f5;p=friendica.git Allow null $tags parameter in ActivityPub\Processor::constructTagString --- 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 '';