<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
{
static $mod_localtime = '';
- public static function post()
+ protected function post(array $request = [])
{
$time = ($_REQUEST['time'] ?? '') ?: 'now';
}
}
- public static function content()
+ protected function content(array $request = []): string
{
$time = ($_REQUEST['time'] ?? '') ?: 'now';