]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Invite.php
Merge remote-tracking branch 'upstream/develop' into api4
[friendica.git] / src / Module / Invite.php
index 65438c15146f828a608a5fe76241f5fc4c9c6879..10346a5162750b6ec864fbe619c59314419b12d1 100644 (file)
@@ -35,7 +35,7 @@ use Friendica\Util\Strings;
  */
 class Invite extends BaseModule
 {
-       public static function post(array $parameters = [])
+       public function post()
        {
                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(array $parameters = [])
+       public function content(): string
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));