fix return type doc
authorMichael Wallner <mike@php.net>
Wed, 13 Mar 2019 08:12:26 +0000 (09:12 +0100)
committerMichael Wallner <mike@php.net>
Wed, 13 Mar 2019 08:12:59 +0000 (09:12 +0100)
mdref/Structure.php

index 217cc13050a58bfe9fb7fb26e86a458248731b5d..602bca2a7b6464d68aeb7b05c42c59acc02d4475 100644 (file)
@@ -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";