Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
voku authored and StyleCIBot committed Dec 27, 2016
1 parent 2a6ca1e commit ce233b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voku/helper/HtmlDomParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ private function createDOMDocument($html, $libXMLExtraOptions = null)
{
if (strpos($html, '<') === false) {
$this->isDOMDocumentCreatedWithoutHtml = true;
} else if (strpos(ltrim($html), '<') !== 0) {
} elseif (strpos(ltrim($html), '<') !== 0) {
$this->isDOMDocumentCreatedWithoutWrapper = true;
}

Expand Down

0 comments on commit ce233b3

Please sign in to comment.