Skip to content

Commit 7f1b4da

Browse files
author
Dave Ross
committed
Call providerEmbedInDomIsBroken() staticly
1 parent 8bf5ad2 commit 7f1b4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Providers/OEmbed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function run()
2424
$endPoint = null;
2525
$params = $this->config['parameters'];
2626

27-
if ($this->providerEmbedInDomIsBroken($this->request) || (!($html = $this->request->getHtmlContent()) || !($endPoint = self::getEndPointFromDom($html)))) {
27+
if (self::providerEmbedInDomIsBroken($this->request) || (!($html = $this->request->getHtmlContent()) || !($endPoint = self::getEndPointFromDom($html)))) {
2828
if (($info = self::getEndPointFromRequest($this->request, $this->config))) {
2929
$endPoint = $info['endPoint'];
3030
$params += $info['params'];

0 commit comments

Comments
 (0)