From: Michael Wallner Date: Wed, 13 Mar 2019 08:12:26 +0000 (+0100) Subject: fix return type doc X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=71d990d9e2d535a85fb515da568171c9f16a59a3;p=mdref%2Fmdref fix return type doc --- diff --git a/mdref/Structure.php b/mdref/Structure.php index 217cc13..602bca2 100644 --- a/mdref/Structure.php +++ b/mdref/Structure.php @@ -432,7 +432,7 @@ class StructureOfFunc extends StructureOf { $desc .= $this->saneType($typ, false) . " " . $ret; } } else { - $type = $this->saneType($this->returns[0][0]); + $type = $this->saneType($this->returns[0][0], false); $desc = $this->returns[0][1]; } $tags[] = "return $type $desc";