We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b179961 commit 004d86dCopy full SHA for 004d86d
src/Frame.php
@@ -57,7 +57,7 @@ public function getName(bool $emptyParent = false): string
57
58
public function getClassName(): ?string
59
{
60
- if ($this->getName()) {
+ if ($this->getName() && $this->getRootNode() instanceof Frame) {
61
return $this->sanitizeClassName($this->getName());
62
}
63
$prefix = $this->parent?->getClassName() ?? '';
0 commit comments