]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Profile/Profile.php
Merge pull request #11129 from urbalazs/copyright-2022
[friendica.git] / src / Module / Profile / Profile.php
index a497fc4dd6a721dfdf51822f2a5ea80d3a502e01..199b96e2c976e4f10b8ff69b5f5e42da1583e310 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
  *
@@ -46,7 +46,7 @@ use Friendica\Util\Temporal;
 
 class Profile extends BaseProfile
 {
-       public function rawContent()
+       protected function rawContent(array $request = [])
        {
                if (ActivityPub::isRequest()) {
                        $user = DBA::selectFirst('user', ['uid'], ['nickname' => $this->parameters['nickname']]);
@@ -73,7 +73,7 @@ class Profile extends BaseProfile
                }
        }
 
-       public function content(): string
+       protected function content(array $request = []): string
        {
                $a = DI::app();