X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FContact.php;h=d89e556fcba6eaa540be0c40bfc92eabad5d1960;hb=c18bda9397d0ea9d68ea7a81e6292459317fdbf5;hp=8d5e26a261ab9381aaba96f11cecc24dcc6053c3;hpb=8bdd90066f82a7ff1be36be3c6c3b49800a078c8;p=friendica.git diff --git a/src/Module/Contact.php b/src/Module/Contact.php index 8d5e26a261..d89e556fcb 100644 --- a/src/Module/Contact.php +++ b/src/Module/Contact.php @@ -91,7 +91,7 @@ class Contact extends BaseModule DI::baseUrl()->redirect($redirectUrl); } - protected function post(array $request = [], array $post = []) + protected function post(array $request = []) { if (!local_user()) { return; @@ -157,7 +157,7 @@ class Contact extends BaseModule Model\Contact\User::setIgnored($contact_id, local_user(), $ignored); } - public function content($update = 0): string + protected function content(array $request = []): string { if (!local_user()) { return Login::form($_SERVER['REQUEST_URI']);