projects
/
mdref
/
mdref
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
2701d8c
)
fix return type doc
author
Michael Wallner
<mike@php.net>
Wed, 13 Mar 2019 08:12:26 +0000
(09:12 +0100)
committer
Michael Wallner
<mike@php.net>
Wed, 13 Mar 2019 08:12:59 +0000
(09:12 +0100)
mdref/Structure.php
patch
|
blob
|
history
diff --git
a/mdref/Structure.php
b/mdref/Structure.php
index 217cc13050a58bfe9fb7fb26e86a458248731b5d..602bca2a7b6464d68aeb7b05c42c59acc02d4475 100644
(file)
--- 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";