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 8827ba4Copy full SHA for 8827ba4
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()::class === Frame::class) {
61
return $this->sanitizeClassName($this->getName());
62
}
63
$prefix = $this->parent?->getClassName() ?? '';
0 commit comments