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 c1fe126 commit 87e3801Copy full SHA for 87e3801
src/phpDocumentor/Reflection/NodeVisitor/ElementNameResolver.php
@@ -94,11 +94,11 @@ public function enterNode(Node $node): ?int
94
case Function_::class:
95
$this->parts->push($node->name . '()');
96
$node->fqsen = new Fqsen($this->buildName());
97
- break;
+ return NodeTraverser::DONT_TRAVERSE_CHILDREN;
98
case ClassMethod::class:
99
$this->parts->push('::' . $node->name . '()');
100
101
102
case ClassConst::class:
103
$this->parts->push('::');
104
break;
0 commit comments