Skip to content

Commit fb41668

Browse files
committed
Fix template children being annotated more than needed
1 parent 3d53f60 commit fb41668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XmlFileParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private function childHasInterestingData(Frame $child): bool
166166
!empty($child->getInherits())
167167
|| !empty($child->getMixins())
168168
|| !empty($child->getKeyValues())
169-
|| !empty($child->getName())
169+
|| (!empty($child->getName()) && $child->getRootNode()::class === Frame::class)
170170
|| !empty($child->getChildren());
171171
}
172172

0 commit comments

Comments
 (0)