X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FDelegation.php;h=bc3c72e8d008c8b9d248fe9ed4868219930a5dcb;hb=39c2282c1292af173f854e2a4338c601f9ba58f6;hp=12f8c5074cbe26db122cd2f27a17a22560071c0d;hpb=a497bd3a3daf7e47e98fee0af9384544d8f691b8;p=friendica.git diff --git a/src/Module/Delegation.php b/src/Module/Delegation.php index 12f8c5074c..bc3c72e8d0 100644 --- a/src/Module/Delegation.php +++ b/src/Module/Delegation.php @@ -37,7 +37,7 @@ use Friendica\Util\Proxy; */ class Delegation extends BaseModule { - public static function post(array $parameters = []) + protected function post(array $request = []) { if (!local_user()) { return; @@ -112,7 +112,7 @@ class Delegation extends BaseModule // NOTREACHED } - public static function content(array $parameters = []) + protected function content(array $request = []): string { if (!local_user()) { throw new ForbiddenException(DI::l10n()->t('Permission denied.'));