X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FFriendSuggest.php;h=3cebd72cea580a01607e00fb199c200b21a281a2;hb=bbda69a736de66d689f449604e8643f7e755865f;hp=940e6ff9ce661fcceac00bd018b85eaeaf2c39c4;hpb=23c56b108b43bd1964d78993fb7a164b09fc30f1;p=friendica.git diff --git a/src/Module/FriendSuggest.php b/src/Module/FriendSuggest.php index 940e6ff9ce..3cebd72cea 100644 --- a/src/Module/FriendSuggest.php +++ b/src/Module/FriendSuggest.php @@ -1,6 +1,6 @@ t('Permission denied.')); } - $this->baseUrl = $baseUrl; $this->dba = $dba; $this->friendSuggestRepo = $friendSuggestRepo; $this->friendSuggestFac = $friendSuggestFac; } - public function post() + protected function post(array $request = []) { $cid = intval($this->parameters['contact']); @@ -100,7 +99,7 @@ class FriendSuggest extends BaseModule info($this->t('Friend suggestion sent.')); } - public function content(): string + protected function content(array $request = []): string { $cid = intval($this->parameters['contact']);