@@ -33,12 +33,10 @@ |
||
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 | */ |