mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
@ -27,7 +27,7 @@ use Friendica\Network\HTTPException;
|
|||
|
||||
class MethodNotAllowed extends BaseModule
|
||||
{
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
throw new HTTPException\MethodNotAllowedException(DI::l10n()->t('Method Not Allowed.'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue