]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Oembed.php
API: Fixed the bookmarking
[friendica.git] / src / Module / Oembed.php
index 1b38c0e9730fd35054ee62486e6aa51d9df6b29b..81c858cba3023f959a786e1488caa55fa61cb283 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
  *
@@ -37,7 +37,7 @@ use Friendica\Util\Strings;
  */
 class Oembed extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                // Unused form: /oembed/b2h?url=...
                if (DI::args()->getArgv()[1] == 'b2h') {