Allow null $tags parameter in ActivityPub\Processor::constructTagString

This commit is contained in:
Hypolite Petovan 2019-05-16 18:10:42 -04:00
parent 9519ad2174
commit 1cf9a1ab7c

View 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 '';