From d3f229b258375f7965ecadcbf076be61c5874faa Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 8 Mar 2021 13:58:24 +0100 Subject: [PATCH] fix weak property types --- mdref/Structure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2