Skip to content

Commit bfa16f0

Browse files
committed
Change style builder
1 parent afc8247 commit bfa16f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Compiler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,6 @@ private function addScopedAttribute(DOMElement $node): void
10191019
return;
10201020
}
10211021
$scopedAttribute = $this->styleBuilder->getScopedAttribute();
1022-
$foo = new DOMAttr($scopedAttribute, '');
1023-
$node->setAttributeNode($foo);
1022+
$node->setAttributeNode(new DOMAttr($scopedAttribute, ''));
10241023
}
10251024
}

0 commit comments

Comments
 (0)