diff --git a/src/Adjustment/TetheredNodeAdjustments.php b/src/Adjustment/TetheredNodeAdjustments.php index d3aa41b..213e6a5 100644 --- a/src/Adjustment/TetheredNodeAdjustments.php +++ b/src/Adjustment/TetheredNodeAdjustments.php @@ -127,8 +127,8 @@ function () use ($tetheredNodeAggregate) { $actualTetheredChildNodes = []; foreach ($childNodes as $childNode) { if ($childNode->classification->isTethered()) { - assert($childNode->nodeName !== null); // it's tethered! - $actualTetheredChildNodes[$childNode->nodeName->value] = $childNode; + assert($childNode->name !== null); // it's tethered! + $actualTetheredChildNodes[$childNode->name->value] = $childNode; } }