*/
class PermissionTooltip extends \Friendica\BaseModule
{
- public function rawContent()
+ protected function rawContent(array $request = [])
{
- $type = static::$parameters['type'];
- $referenceId = static::$parameters['id'];
+ $type = $this->parameters['type'];
+ $referenceId = $this->parameters['id'];
$expectedTypes = ['item', 'photo', 'event'];
if (!in_array($type, $expectedTypes)) {