Skip to content

Commit 1db8f73

Browse files
committed
Merge branch '5.0'
* 5.0: Fix CS Fix CS Fix CS
2 parents 73fc6ae + a0b51ba commit 1db8f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Node/AbstractNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class AbstractNode implements NodeInterface
3131
public function getNodeName(): string
3232
{
3333
if (null === $this->nodeName) {
34-
$this->nodeName = preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', \get_called_class());
34+
$this->nodeName = preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', static::class);
3535
}
3636

3737
return $this->nodeName;

0 commit comments

Comments
 (0)