]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Poke.php
Add Dice logging for Module creation
[friendica.git] / src / Module / Contact / Poke.php
index 23ec95a435ff9f60c96f9d5dad117e9263f48481..12ab757f3bb1dc1971b0c95cab7384f4e6bd672e 100644 (file)
@@ -18,7 +18,7 @@ use Friendica\Util\XML;
 
 class Poke extends BaseModule
 {
-       public function post()
+       protected function post(array $request = [])
        {
                if (!local_user() || empty($this->parameters['id'])) {
                        return self::postReturn(false);
@@ -123,7 +123,7 @@ class Poke extends BaseModule
                return $success;
        }
 
-       public function content(): string
+       protected function content(array $request = []): string
        {
                if (!local_user()) {
                        throw new HTTPException\UnauthorizedException(DI::l10n()->t('You must be logged in to use this module.'));