summaryrefslogtreecommitdiff
path: root/src/Nodes/NodeTrait.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-25 21:22:29 +0000
committerAndres Rey <[email protected]>2018-11-25 21:22:29 +0000
commit4dfbc5db03d429741454b076f35c2513a1a525ab (patch)
treef30e1d7555537f374efbbaae39817a2936e0eeaa /src/Nodes/NodeTrait.php
parente0029b0bcbd91bf1d4b960e15a87fcc4964cb8ee (diff)
parentfcbb76a9a015b85bab63324e10ddfa993be17f78 (diff)
Merge remote-tracking branch 'origin/development' into development
Diffstat (limited to 'src/Nodes/NodeTrait.php')
-rw-r--r--src/Nodes/NodeTrait.php8
1 files changed, 4 insertions, 4 deletions
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
*/