Skip to content

Commit c58af0a

Browse files
Girgiaskocsismate
andauthored
[skip ci] Update return type
Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
1 parent aa747b7 commit c58af0a

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
@@ -1703,7 +1703,7 @@ private function getReturnValueSection(DOMDocument $doc): DOMElement {
17031703
$returnDescriptionPara = $doc->createElement('para');
17041704
$returnDescriptionPara->appendChild(new DOMText("\n "));
17051705

1706-
$returnType = $this->return->type;
1706+
$returnType = $this->return->getMethodSynopsisType();
17071707
if ($returnType === null) {
17081708
$returnDescriptionPara->appendChild(new DOMText("Description"));
17091709
} else if (count($returnType->types) === 1) {

0 commit comments

Comments
 (0)