Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
|
@ -34,13 +34,13 @@ use Friendica\BaseModule;
|
|||
*/
|
||||
class Index extends BaseModule
|
||||
{
|
||||
public static function rawContent()
|
||||
public function rawContent()
|
||||
{
|
||||
Profile::rawContent();
|
||||
(new Profile(static::$parameters))->rawContent();
|
||||
}
|
||||
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
return Status::content();
|
||||
return (new Status(static::$parameters))->content();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue