mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 17:44:31 +02:00
Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
@ -49,7 +49,7 @@ class Community extends BaseModule
|
|||
protected static $max_id;
|
||||
protected static $item_id;
|
||||
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
self::parseRequest();
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ class Network extends BaseModule
|
|||
/** @var string */
|
||||
protected static $order;
|
||||
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
if (!local_user()) {
|
||||
return Login::form();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue