Skip to content

Commit

Permalink
WiP
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Dec 28, 2023
1 parent fb2219f commit 4ca87c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeComparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected static function isEqualElementNode(DOMElement $element, DOMElement $ot

foreach ($element->attributes as $attribute)
{
if ($attribute->value !== $otherElement->attributes[$attribute->name]?->value)
if ($attribute->value !== $otherElement->attributes->getNamedItem($attribute->name)?->value)
{
return false;
}
Expand Down

0 comments on commit 4ca87c2

Please sign in to comment.