]> git.mxchange.org Git - friendica.git/commitdiff
Allow null $tags parameter in ActivityPub\Processor::constructTagString
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 16 May 2019 22:10:42 +0000 (18:10 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 16 May 2019 22:10:42 +0000 (18:10 -0400)
src/Protocol/ActivityPub/Processor.php

index b6f3486a2526f73948a573966f21c976b15dab55..70728edc9ea9e35b54624f1515d07c58a4b3c23f 100644 (file)
@@ -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 '';