diff --git a/src/Content/OEmbed.php b/src/Content/OEmbed.php index 360a0dc489..390f3ea868 100644 --- a/src/Content/OEmbed.php +++ b/src/Content/OEmbed.php @@ -20,6 +20,7 @@ use DOMNode; use DOMText; use DOMXPath; use Exception; +use stdClass; require_once 'include/dba.php'; require_once 'mod/proxy.php'; @@ -163,11 +164,12 @@ class OEmbed return $j; } - private static function formatObject($j) + private static function formatObject(stdClass $j) { $embedurl = $j->embedurl; $jhtml = $j->html; $ret = '