mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 08:34:27 +02:00
Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
@ -29,7 +29,7 @@ use Friendica\DI;
|
|||
*/
|
||||
class ToggleMobile extends BaseModule
|
||||
{
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
$a = DI::app();
|
||||
|
||||
|
@ -46,5 +46,7 @@ class ToggleMobile extends BaseModule
|
|||
}
|
||||
|
||||
$a->redirect($address);
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue