From a0559207f4fcbcfee10588b833779b7f6cb6d860 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Mon, 27 Nov 2017 20:50:09 +0000 Subject: Fix function call --- src/Readability.php | 4 ++-- 1 file 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 -- cgit v1.2.3