]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/RandomProfile.php
Merge pull request #11003 from annando/fix-api
[friendica.git] / src / Module / RandomProfile.php
index 163fec60fbb6da1f8b06d5be5ea45d58f3e99b38..38cd684294e54e3db4a394649d210dc4ad2a8be8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, 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(array $parameters = [])
+       public function content(): string
        {
                $a = DI::app();
 
@@ -42,5 +42,7 @@ class RandomProfile extends BaseModule
                }
 
                DI::baseUrl()->redirect('profile');
+
+               return '';
        }
 }