]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Oembed.php
Possibly Avoid database error when storing photo item
[friendica.git] / src / Module / Oembed.php
index 5564fdacaa05418f90d4d1f958ff18743bd6f8c6..f433ca188a6c20f04ad9e77fa7d50f2b4aba5054 100644 (file)
@@ -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') {