Skip to content

Commit

Permalink
TASK: Fix phpcs error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed May 14, 2024
1 parent 8ad2c3b commit 4f6ed01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public function getLabel(Node $node): string
$generator = $this->getDelegatedGenerator($nodeType);
if ($generator instanceof DelegatingNodeLabelRenderer) {
throw new \RuntimeException(
'Recursion detected, cannot specify DelegatingNodeLabelRenderer as generatorClass for NodeLabel as this is the default.', 1715622960
'Recursion detected, cannot specify DelegatingNodeLabelRenderer as generatorClass for NodeLabel as this is the default.',
1715622960
);
}
return $generator->getLabel($node);
Expand Down

0 comments on commit 4f6ed01

Please sign in to comment.