Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Commit

Permalink
Fix wrong docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
andreskrey committed Nov 22, 2018
1 parent 4c904d1 commit 2d542fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nodes/NodeTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function hasSingleTagInsideElement($tag)
return false;
}

/** @var $child DOMNode */
/** @var DOMNode $child */
return !($child->nodeType === XML_TEXT_NODE && !preg_match('/\S$/', $child->getTextContent()));
});
}
Expand Down

0 comments on commit 2d542fe

Please sign in to comment.