]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/HCard.php
$_POST replaced
[friendica.git] / src / Module / HCard.php
index 110371ee9595851d67cbacbaf21ed131e745213f..cb84c1aa94dec41fc115510e1b1fcd77fb09364a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -34,7 +34,7 @@ use Friendica\Network\HTTPException;
  */
 class HCard extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                if ((local_user()) && ($this->parameters['action'] ?? '') === 'view') {
                        // A logged in user views a profile of a user