Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 14, 2023
1 parent 8dd5250 commit 7b3aa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ private function doLinkResult($document)
}

$linkAnchor = trim($this->getTextContent($element->outerHTML));
if(empty($linkAnchor)) {
if (empty($linkAnchor)) {
$linkAnchor = strpos($element->outerHTML, '<img') !== false ? 'image' : $linkAnchor;
}
$link = [
Expand Down

0 comments on commit 7b3aa79

Please sign in to comment.