diff options
author | Andres Rey <[email protected]> | 2016-11-16 17:42:16 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2016-11-16 17:42:16 +0000 |
commit | c9c13321f095dd442c4b4a7db140775bc025a14b (patch) | |
tree | b347e9f562e2862e19316fadb0c3d1dd4a5fa419 /src/Readability.php | |
parent | 398aa398a682758d3cd47b86807beed335209551 (diff) |
Fixed duplication of initialization
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 930e141..addbd0d 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -88,7 +88,7 @@ class Readability extends Element implements ReadabilityInterface $node = $this->getParent(); while ($node) { - $ancestors[] = new static($node->node); + $ancestors[] = $node; $level++; if ($level >= $maxLevel) { break; |