Skip to content

Commit

Permalink
Merge branch 'release/5.0.1' into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Aug 6, 2024
2 parents 662d6d6 + 8dda8d6 commit c5e113b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/web/twig/TemplateCommentsParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class TemplateCommentsParser extends Parser
public function __construct(Environment $env)
{
$this->env = $env;
$this->expressionParserClass = ExpressionParser::class;
// Get the existing parser object used by the Twig $env
try {
$parserReflection = ReflectionHelper::getReflectionProperty($env, 'parser');
Expand Down

0 comments on commit c5e113b

Please sign in to comment.