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.
2 parents ff60c90 + d0a6dd2 commit a0b51baCopy full SHA for a0b51ba
Node/AbstractNode.php
@@ -31,7 +31,7 @@ abstract class AbstractNode implements NodeInterface
31
public function getNodeName(): string
32
{
33
if (null === $this->nodeName) {
34
- $this->nodeName = preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', \get_called_class());
+ $this->nodeName = preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', static::class);
35
}
36
37
return $this->nodeName;
0 commit comments