Allow null $tags parameter in ActivityPub\Processor::constructTagString
This commit is contained in:
parent
9519ad2174
commit
1cf9a1ab7c
1 changed files with 1 additions and 2 deletions
|
@ -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 '';
|
||||
|
|
Loading…
Reference in a new issue