diff options
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 4 |
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 |