mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 02:46:29 +00:00
Parser.php - CS fix
This commit is contained in:
+1
-2
@@ -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')))
|
||||
||
|
||||
|
||||
Reference in New Issue
Block a user