parameters now are having a default value and are optional
This commit is contained in:
@@ -12,7 +12,7 @@ use Friendica\Core\Renderer;
|
||||
*/
|
||||
class Home extends BaseModule
|
||||
{
|
||||
public static function content($parameters)
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
$app = self::getApp();
|
||||
$config = $app->getConfig();
|
||||
|
||||
Reference in New Issue
Block a user