]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/OEmbed.php
The appearanxe of the link preview is now configurable
[friendica.git] / src / Content / OEmbed.php
index 498a65e33bb79649aa9d46c372277dec5e5507dd..008269785262904c3314d7997f4f4fbc49badde7 100644 (file)
@@ -391,7 +391,7 @@ class OEmbed
         * @param string $title Optional title (default: what comes from OEmbed object)
         * @return string Formatted HTML
         */
-       public static function getHTML(string $url, string $title = '')
+       public static function getHTML(string $url, string $title = ''): string
        {
                $o = self::fetchURL($url, !self::isAllowedURL($url));