projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c716b99
)
Parser.php - CS fix
author
Joseph Bielawski
<stloyd@gmail.com>
Fri, 29 Apr 2011 09:56:34 +0000 (
02:56
-0700)
committer
Joseph Bielawski
<stloyd@gmail.com>
Fri, 29 Apr 2011 09:56:34 +0000 (
02:56
-0700)
lib/Twig/Parser.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Parser.php
b/lib/Twig/Parser.php
index
be39535
..
c433ab6
100644
(file)
--- a/
lib/Twig/Parser.php
+++ b/
lib/Twig/Parser.php
@@
-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')))
||