]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Bookmarklet.php
We now offer an endpoint for featured posts
[friendica.git] / src / Module / Bookmarklet.php
index 5061254aa1e5e957eef433e6692cbd86f1cb35e4..970eb4790f66507d2cf9b1abf53fb3326214db86 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
  *
@@ -34,7 +34,7 @@ use Friendica\Util\Strings;
  */
 class Bookmarklet extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                $_GET['mode'] = 'minimal';