<?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
*
*/
class Index extends BaseModule
{
- public function rawContent()
+ protected function rawContent(array $request = [])
{
- (new Profile($this->l10n, $this->parameters))->rawContent();
+ (new Profile($this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->rawContent();
}
- public function content(): string
+ protected function content(array $request = []): string
{
- return (new Status($this->l10n, $this->parameters))->content();
+ return (new Status($this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->content();
}
}