Skip to content

Commit 56302dd

Browse files
committed
Revert "build/gen_stub.php: fix collision of namespaced functions"
This reverts commit ad5021b.
1 parent 5896f36 commit 56302dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ public function getNonNamespacedName(): string {
793793
}
794794

795795
public function getDeclarationName(): string {
796-
return strtr($this->name->toString(), "\\", "_");
796+
return $this->name->getLast();
797797
}
798798

799799
public function getDeclaration(): string {

0 commit comments

Comments
 (0)