Completed
Push — master ( bf06df...afb281 )
by Mewes
02:20
created
Twig/NodeVisitor/SyntaxCheckNodeVisitor.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,12 +33,10 @@
 block discarded – undo
33 33
         if (($node instanceof Twig_Node_Block || $node instanceof Twig_Node_Macro) && !$node->hasAttribute('twigExcelBundle') && NodeHelper::checkContainsXlsNode($node)) {
34 34
             if ($node instanceof Twig_Node_Block) {
35 35
                 throw new Twig_Error_Syntax('Block tags do not work together with Twig tags provided by TwigExcelBundle. Please use \'xlsblock\' instead.');
36
-            }
37
-            elseif ($node instanceof Twig_Node_Macro) {
36
+            } elseif ($node instanceof Twig_Node_Macro) {
38 37
                 throw new Twig_Error_Syntax('Macro tags do not work together with Twig tags provided by TwigExcelBundle. Please use \'xlsmacro\' instead.');
39 38
             }
40
-        }
41
-        elseif ($node instanceof SyntaxAwareNodeInterface) {
39
+        } elseif ($node instanceof SyntaxAwareNodeInterface) {
42 40
             /**
43 41
              * @var SyntaxAwareNodeInterface $node
44 42
              */
Please login to merge, or discard this patch.