]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Oembed.php
API: Fixed the bookmarking
[friendica.git] / src / Module / Oembed.php
index 5564fdacaa05418f90d4d1f958ff18743bd6f8c6..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 static function content()
+       protected function content(array $request = []): string
        {
                // Unused form: /oembed/b2h?url=...
                if (DI::args()->getArgv()[1] == 'b2h') {