]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RandomProfile.php
We now offer an endpoint for featured posts
[friendica.git] / src / Module / RandomProfile.php
index b50746701d078053b5419bf1fb1ad6294750abd1..17c8fab7a4909ecfff0c7f86a4e7b8da9d466f0f 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
  *
@@ -30,7 +30,7 @@ use Friendica\Model\Contact;
  */
 class RandomProfile extends BaseModule
 {
-       public static function content()
+       protected function content(array $request = []): string
        {
                $a = DI::app();
 
@@ -42,5 +42,7 @@ class RandomProfile extends BaseModule
                }
 
                DI::baseUrl()->redirect('profile');
+
+               return '';
        }
 }