Skip to content

Commit

Permalink
Fix deprecation introduced by Twig 3.12
Browse files Browse the repository at this point in the history
Related to #14

Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Sep 8, 2024
1 parent 469924f commit 1c1d606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Node/TransNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function __construct(
}

/** @phpstan-ignore-next-line */
if (Environment::VERSION_ID >= 301200) {
if (Environment::VERSION_ID >= 31300 || Environment::VERSION_ID >= 301200) {
parent::__construct($nodes, [], $lineno);

return;
Expand Down

0 comments on commit 1c1d606

Please sign in to comment.