summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-11-27 20:50:09 +0000
committerAndres Rey <[email protected]>2017-11-27 20:50:09 +0000
commita0559207f4fcbcfee10588b833779b7f6cb6d860 (patch)
tree748149cf1492552060a7f22ca1cfdf765d6b39fa /src
parent87da0cee01f949b0ff3fe2d0dff53875e11ab3b9 (diff)
Fix function call
Diffstat (limited to 'src')
-rw-r--r--src/Readability.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Readability.php b/src/Readability.php
index 1944378..766c966 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -404,7 +404,7 @@ class Readability
// Remove DOMComments nodes as we don't need them and mess up children counting
if ($node->nodeTypeEqualsTo(XML_COMMENT_NODE)) {
- $node = $node->removeAndGetNext($node);
+ $node = NodeUtility::removeAndGetNext($node);
continue;
}
@@ -478,7 +478,7 @@ class Readability
/**
* Checks if the node is a byline.
*
- * @param Readability $node
+ * @param DOMNode $node
* @param string $matchString
*
* @return bool