Parser.php - CS fix

This commit is contained in:
Joseph Bielawski
2011-04-29 02:56:34 -07:00
parent c716b99278
commit fa93043bf3
+1 -2
View File
@@ -295,8 +295,7 @@ class Twig_Parser implements Twig_ParserInterface
protected function checkBodyNodes($body)
{
// check that the body does not contain non-empty output nodes
foreach ($body as $node)
{
foreach ($body as $node) {
if (
($node instanceof Twig_Node_Text && !ctype_space($node->getAttribute('data')))
||