Skip to content

Commit b004837

Browse files
Girgiaskocsismate
andauthored
[skip ci] Use __toString() directly
Co-authored-by: Máté Kocsis <[email protected]>
1 parent 6b43d94 commit b004837

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
@@ -1511,7 +1511,7 @@ public function getMethodSynopsisDocument(array $funcMap, array $aliasMap): ?str
15111511
$refnamediv->appendChild(new DOMText("\n "));
15121512
if ($this->isMethod()) {
15131513
assert($this->name instanceof MethodName);
1514-
$refname = $doc->createElement('refname', $this->name->className->__toString() . '::' . $this->name->methodName);
1514+
$refname = $doc->createElement('refname', $this->name->__toString());
15151515
$refnamediv->appendChild($refname);
15161516
} else {
15171517
// TODO Functions

0 commit comments

Comments
 (0)