mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-22 19:55:36 +00:00
Deprecate the fact that the extends and use tags are always allowed in a sandboxed template
This commit is contained in:
@@ -41,7 +41,7 @@ final class WithTokenParser extends AbstractTokenParser
|
||||
|
||||
$stream->expect(Token::BLOCK_END_TYPE);
|
||||
|
||||
return new WithNode($body, $variables, $only, $token->getLine(), $this->getTag());
|
||||
return new WithNode($body, $variables, $only, $token->getLine());
|
||||
}
|
||||
|
||||
public function decideWithEnd(Token $token): bool
|
||||
|
||||
Reference in New Issue
Block a user