diff --git a/src/Dom/LinkManager.php b/src/Dom/LinkManager.php index fc28472d9..077da9e2d 100644 --- a/src/Dom/LinkManager.php +++ b/src/Dom/LinkManager.php @@ -80,9 +80,6 @@ private function detectExistingLinks() continue; } - $href = $node->getAttribute(Attribute::HREF); - $rel = $node->getAttribute(Attribute::REL); - $key = $this->getKey($node); if ($key !== '') {