fixed CS
authorFabien Potencier <fabien.potencier@gmail.com>
Thu, 8 Nov 2012 06:24:19 +0000 (07:24 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Thu, 8 Nov 2012 06:24:19 +0000 (07:24 +0100)
lib/Twig/Node/Expression/Name.php

index 9d581b0..3b8fae0 100644 (file)
@@ -50,12 +50,15 @@ class Twig_Node_Expression_Name extends Twig_Node_Expression
                     ->raw('(isset($context[')
                     ->string($name)
                     ->raw(']) ? $context[')
-                    ->string($name);
-                               if ($this->getAttribute('ignore_strict_check') || !$compiler->getEnvironment()->isStrictVariables()) {
-                    $compiler->raw('] : null)');
-                               } else {
-                    $compiler->raw('] : $this->getContext($context, ')->string($name)->raw('))');
-                               }
+                    ->string($name)
+                    ->raw('] : ')
+                ;
+
+                if ($this->getAttribute('ignore_strict_check') || !$compiler->getEnvironment()->isStrictVariables()) {
+                    $compiler->raw('null)');
+                } else {
+                    $compiler->raw('$this->getContext($context, ')->string($name)->raw('))');
+                }
             } else {
                 $compiler
                     ->raw('$this->getContext($context, ')