mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
Changes:
- added some missing type-hints - no need for local array `$t` (changed to "anonymous" varriant) - formatted some arrays
This commit is contained in:
parent
05b15f2824
commit
bf9f09182e
7 changed files with 35 additions and 30 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue