File tree Expand file tree Collapse file tree
src/Symfony/Bridge/Twig/Node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,8 +31,7 @@ public function compile(\Twig_Compiler $compiler)
3131 {
3232 $ compiler
3333 ->write ("if ( \$this->env->isDebug()) { \n" )
34- ->indent ()
35- ;
34+ ->indent ();
3635
3736 $ values = $ this ->getNode ('values ' );
3837
@@ -50,43 +49,36 @@ public function compile(\Twig_Compiler $compiler)
5049 ->outdent ()
5150 ->write ("} \n" )
5251 ->addDebugInfo ($ this )
53- ->write (sprintf ('\Symfony\Component\VarDumper\VarDumper::dump($%svars); ' ."\n" , $ this ->varPrefix ))
54- ;
52+ ->write (sprintf ('\Symfony\Component\VarDumper\VarDumper::dump($%svars); ' ."\n" , $ this ->varPrefix ));
5553 } elseif (1 === $ values ->count ()) {
5654 $ compiler
5755 ->addDebugInfo ($ this )
5856 ->write ('\Symfony\Component\VarDumper\VarDumper::dump( ' )
5957 ->subcompile ($ values ->getNode (0 ))
60- ->raw ("); \n" )
61- ;
58+ ->raw ("); \n" );
6259 } else {
6360 $ compiler
6461 ->addDebugInfo ($ this )
6562 ->write ('\Symfony\Component\VarDumper\VarDumper::dump(array( ' ."\n" )
66- ->indent ()
67- ;
63+ ->indent ();
6864 foreach ($ values as $ node ) {
6965 $ compiler ->addIndentation ();
7066 if ($ node ->hasAttribute ('name ' )) {
7167 $ compiler
7268 ->string ($ node ->getAttribute ('name ' ))
73- ->raw (' => ' )
74- ;
69+ ->raw (' => ' );
7570 }
7671 $ compiler
7772 ->subcompile ($ node )
78- ->raw (", \n" )
79- ;
73+ ->raw (", \n" );
8074 }
8175 $ compiler
8276 ->outdent ()
83- ->write (")); \n" )
84- ;
77+ ->write (")); \n" );
8578 }
8679
8780 $ compiler
8881 ->outdent ()
89- ->raw ("} \n" )
90- ;
82+ ->raw ("} \n" );
9183 }
9284}
You can’t perform that action at this time.
0 commit comments