diff options
author | Andres Rey <[email protected]> | 2017-11-29 23:58:04 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2017-11-29 23:58:04 +0000 |
commit | ad9f7b246fed8f6316274cbde6baa12485da57e1 (patch) | |
tree | 8aa91b8553b3900189e64f7c7f4baf60d07da837 /src/Readability.php | |
parent | 86823e6cb1b1ec4a21824bb36b53a3d810d18203 (diff) |
Remove node comparing function
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php index 53bc32d..4b1309c 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -937,7 +937,7 @@ class Readability foreach ($siblings as $sibling) { $append = false; - if ($sibling->compareNodes($sibling, $topCandidate)) { + if ($sibling === $topCandidate) { $append = true; } else { $contentBonus = 0; |