mirror of
https://github.com/danog/PHP-Parser.git
synced 2025-01-20 12:46:47 +01:00
parent
b7ffdbbb92
commit
ce5c76d79b
@ -21,7 +21,7 @@ class NodeDumper
|
||||
}
|
||||
|
||||
foreach ($node as $key => $value) {
|
||||
$r .= "\n" . ' ' . $key . ': ';
|
||||
$r .= "\n " . $key . ': ';
|
||||
|
||||
if (null === $value) {
|
||||
$r .= 'null';
|
||||
@ -32,7 +32,7 @@ class NodeDumper
|
||||
} elseif (is_scalar($value)) {
|
||||
$r .= $value;
|
||||
} else {
|
||||
$r .= str_replace("\n", "\n" . ' ', $this->dump($value));
|
||||
$r .= str_replace("\n", "\n ", $this->dump($value));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user