Skip to content

Commit

Permalink
[NodeTypeResolver] Clean up direct setAttribute() on attributes set s…
Browse files Browse the repository at this point in the history
…cope (#6315)
  • Loading branch information
samsonasik committed Sep 18, 2024
1 parent e0c9c04 commit 71a0da8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ private function decorateNodeAttrGroups(Node $node, MutatingScope $mutatingScope
foreach ($node->attrGroups as $attrGroup) {
foreach ($attrGroup->attrs as $attr) {
foreach ($attr->args as $arg) {
$arg->value->setAttribute(AttributeKey::SCOPE, $mutatingScope);
$this->nodeScopeResolverProcessNodes(
[new Expression($arg->value)],
$mutatingScope,
Expand Down

0 comments on commit 71a0da8

Please sign in to comment.