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 aa747b7 commit c58af0aCopy full SHA for c58af0a
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