projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update to Drupal 8.4.6 with PHP held back to 7.0.27 to match the stoneboat...
[yaffs-website]
/
vendor
/
twig
/
twig
/
lib
/
Twig
/
TokenParser
/
For.php
diff --git
a/vendor/twig/twig/lib/Twig/TokenParser/For.php
b/vendor/twig/twig/lib/Twig/TokenParser/For.php
index 63bf41d665425e1f61b8671018d00b988b8cd086..8e737c5fafb68cdf67e1107c3a8b5f0b15a55cb7 100644
(file)
--- a/
vendor/twig/twig/lib/Twig/TokenParser/For.php
+++ b/
vendor/twig/twig/lib/Twig/TokenParser/For.php
@@
-40,7
+40,7
@@
class Twig_TokenParser_For extends Twig_TokenParser
$stream->expect(Twig_Token::BLOCK_END_TYPE);
$body = $this->parser->subparse(array($this, 'decideForFork'));
$stream->expect(Twig_Token::BLOCK_END_TYPE);
$body = $this->parser->subparse(array($this, 'decideForFork'));
- if (
$stream->next()->getValue() == 'else'
) {
+ if (
'else' == $stream->next()->getValue()
) {
$stream->expect(Twig_Token::BLOCK_END_TYPE);
$else = $this->parser->subparse(array($this, 'decideForEnd'), true);
} else {
$stream->expect(Twig_Token::BLOCK_END_TYPE);
$else = $this->parser->subparse(array($this, 'decideForEnd'), true);
} else {