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:
9e29e61
)
fix weak property types
author
Michael Wallner
<mike@php.net>
Mon, 8 Mar 2021 12:58:24 +0000
(13:58 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 8 Mar 2021 12:58:24 +0000
(13:58 +0100)
mdref/Structure.php
patch
|
blob
|
history
diff --git
a/mdref/Structure.php
b/mdref/Structure.php
index 2f1a184f1afb387f21287501be2ddf27fed038d3..70233cbbc6fe99914313184e27f1299e762f0f6c 100644
(file)
--- 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();