]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Invite.php
Merge pull request #11128 from annando/diaspora-contact-details
[friendica.git] / src / Module / Invite.php
index 3c82a26c1448cd637f8ed80ec50069e2a3f80ba9..acd5778e3e8a6bca2ae1213867b8ee6140b47b95 100644 (file)
@@ -35,7 +35,7 @@ use Friendica\Util\Strings;
  */
 class Invite extends BaseModule
 {
-       public static function post()
+       protected function post(array $request = [])
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));
@@ -124,7 +124,7 @@ class Invite extends BaseModule
                info(DI::l10n()->tt('%d message sent.', '%d messages sent.', $total));
        }
 
-       public static function content()
+       protected function content(array $request = []): string
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));