diff --git a/lib/PhpParser/NodeDumper.php b/lib/PhpParser/NodeDumper.php index b859ded..cab72e8 100644 --- a/lib/PhpParser/NodeDumper.php +++ b/lib/PhpParser/NodeDumper.php @@ -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)); } }