]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Hashtag.php
Use rawContent for Special Options to avoid a protected options() method
[friendica.git] / src / Module / Hashtag.php
index cdf0de6c16d11221d10ddae96f09247a2a92251b..471515e6296ea4cccdc63a0833454b035a720eb6 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
  *
@@ -31,7 +31,7 @@ use Friendica\Util\Strings;
  */
 class Hashtag extends BaseModule
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
                $result = [];
 
@@ -47,5 +47,7 @@ class Hashtag extends BaseModule
                DBA::close($taglist);
 
                System::jsonExit($result);
+
+               return '';
        }
 }