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 2224b79 commit fe7f345Copy full SHA for fe7f345
build/gen_stub.php
@@ -1703,7 +1703,7 @@ private function getReturnValueSection(DOMDocument $doc): DOMElement {
1703
$returnDescriptionPara = $doc->createElement('para');
1704
$returnDescriptionPara->appendChild(new DOMText("\n "));
1705
1706
- $returnType = $this->return->type;
+ $returnType = $this->return->getMethodSynopsisType();
1707
if ($returnType === null) {
1708
$returnDescriptionPara->appendChild(new DOMText("Description"));
1709
} else if (count($returnType->types) === 1) {
0 commit comments