File: phpbb/template/twig/tokenparser/includephp.php
Unmodified
Added
Modified
Removed
Line 13 | Line 13 |
---|
*/
namespace phpbb\template\twig\tokenparser;
|
*/
namespace phpbb\template\twig\tokenparser;
|
| |
class includephp extends \Twig_TokenParser {
| class includephp extends \Twig_TokenParser {
|
Line 31 | Line 30 |
---|
$stream = $this->parser->getStream();
$ignoreMissing = false;
|
$stream = $this->parser->getStream();
$ignoreMissing = false;
|
if ($stream->test(\Twig_Token::NAME_TYPE, 'ignore')) {
| if ($stream->test(\Twig_Token::NAME_TYPE, 'ignore')) {
|
$stream->next(); $stream->expect(\Twig_Token::NAME_TYPE, 'missing');
| $stream->next(); $stream->expect(\Twig_Token::NAME_TYPE, 'missing');
|