From: Michael Wallner Date: Mon, 8 Mar 2021 12:58:24 +0000 (+0100) Subject: fix weak property types X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d3f229b258375f7965ecadcbf076be61c5874faa;p=mdref%2Fmdref fix weak property types --- diff --git a/mdref/Structure.php b/mdref/Structure.php index 2f1a184..70233cb 100644 --- a/mdref/Structure.php +++ b/mdref/Structure.php @@ -492,7 +492,7 @@ class StructureOfVar extends StructureOf { $indent = str_repeat("\t", $level); $this->formatDesc($level, preg_split('/\s+/', $this->modifiers ." " . $this->usages, -1, PREG_SPLIT_NO_EMPTY) - + [-1 => "var " . $this->saneType($this->type)] + + [-1 => "var " . $this->saneType($this->type, false)] ); printf("%s%s %s", $indent, $this->modifiers, $this->name); $this->formatDefval();