]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Delegation.php
Merge remote-tracking branch 'upstream/develop' into api4
[friendica.git] / src / Module / Delegation.php
index 12f8c5074cbe26db122cd2f27a17a22560071c0d..2b36fc2a306600bc978647b1b2ce9ee2f3bc5cb1 100644 (file)
@@ -37,7 +37,7 @@ use Friendica\Util\Proxy;
  */
 class Delegation extends BaseModule
 {
-       public static function post(array $parameters = [])
+       public function post()
        {
                if (!local_user()) {
                        return;
@@ -112,7 +112,7 @@ class Delegation extends BaseModule
                // NOTREACHED
        }
 
-       public static function content(array $parameters = [])
+       public function content(): string
        {
                if (!local_user()) {
                        throw new ForbiddenException(DI::l10n()->t('Permission denied.'));