removed usage of Twig_Compiler::addIndentation

This commit is contained in:
Fabien Potencier 2016-10-23 22:48:00 -07:00
parent 7f3ce9af83
commit 7b56cc0876

View File

@ -65,7 +65,7 @@ class DumpNode extends \Twig_Node
->write('\Symfony\Component\VarDumper\VarDumper::dump(array('."\n")
->indent();
foreach ($values as $node) {
$compiler->addIndentation();
$compiler->write('');
if ($node->hasAttribute('name')) {
$compiler
->string($node->getAttribute('name'))