mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 14:36:57 +00:00
Remove const optimization
This commit is contained in:
@@ -32,7 +32,7 @@ final class WithTokenParser extends AbstractTokenParser
|
||||
$only = false;
|
||||
if (!$stream->test(/* Token::BLOCK_END_TYPE */ 3)) {
|
||||
$variables = $this->parser->getExpressionParser()->parseExpression();
|
||||
$only = (bool) $stream->nextIf(/* Token::NAME_TYPE */ 5, 'only');
|
||||
$only = (bool) $stream->nextIf(Token::NAME_TYPE, 'only');
|
||||
}
|
||||
|
||||
$stream->expect(/* Token::BLOCK_END_TYPE */ 3);
|
||||
|
||||
Reference in New Issue
Block a user