]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Smilies.php
Allow the search for contacts on blocked servers via web
[friendica.git] / src / Module / Smilies.php
index ded79800503796b26fe71db46179381a3a892622..c496283a8e4372162f79641951bd21dfb9befc42 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -33,7 +33,7 @@ use Friendica\DI;
  */
 class Smilies extends BaseModule
 {
-       public function rawContent()
+       protected function rawContent(array $request = [])
        {
                if (!empty(DI::args()->getArgv()[1]) && (DI::args()->getArgv()[1] === "json")) {
                        $smilies = Content\Smilies::getList();
@@ -45,7 +45,7 @@ class Smilies extends BaseModule
                }
        }
 
-       public function content(): string
+       protected function content(array $request = []): string
        {
                $smilies = Content\Smilies::getList();
                $count = count($smilies['texts'] ?? []);