From 1687abe2a73224aaaf6ccfda84511334ad0d3261 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Thu, 22 Nov 2018 22:21:32 +0000 Subject: Apply fixes from StyleCI --- src/Nodes/NodeTrait.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Nodes/NodeTrait.php') diff --git a/src/Nodes/NodeTrait.php b/src/Nodes/NodeTrait.php index 51035ec..d7060cc 100644 --- a/src/Nodes/NodeTrait.php +++ b/src/Nodes/NodeTrait.php @@ -81,7 +81,7 @@ trait NodeTrait */ public function isReadabilityDataTable() { - /** + /* * This is a workaround that I'd like to remove in the future. * Seems that although we are extending the base DOMElement and adding custom properties (like this one, * 'readabilityDataTable'), these properties get lost when you search for elements with getElementsByTagName. @@ -179,7 +179,7 @@ trait NodeTrait } /** - * Override for native hasAttribute + * Override for native hasAttribute. * * @see getAttribute * @@ -428,7 +428,7 @@ trait NodeTrait return false; } - /** @var DOMNode $child */ + /* @var DOMNode $child */ return !($child->nodeType === XML_TEXT_NODE && !preg_match('/\S$/', $child->getTextContent())); }); } @@ -485,7 +485,7 @@ trait NodeTrait /** * Determine if a node qualifies as phrasing content. - * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content + * https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content. * * @return bool */ -- cgit v1.2.3