Revision 1938
Added by darkviper almost 11 years ago
Set.php | ||
---|---|---|
49 | 49 |
$stream->expect(Twig_Token::BLOCK_END_TYPE); |
50 | 50 |
|
51 | 51 |
if (count($names) !== count($values)) { |
52 |
throw new Twig_Error_Syntax("When using set, you must have the same number of variables and assignements.", $stream->getCurrent()->getLine(), $stream->getFilename());
|
|
52 |
throw new Twig_Error_Syntax("When using set, you must have the same number of variables and assignments.", $stream->getCurrent()->getLine(), $stream->getFilename()); |
|
53 | 53 |
} |
54 | 54 |
} else { |
55 | 55 |
$capture = true; |
Also available in: Unified diff
update Twig template engine to version 1.13.1