diff --git a/src/ExpressionParser.php b/src/ExpressionParser.php index 07786eeacc7..d09cfbb48f8 100644 --- a/src/ExpressionParser.php +++ b/src/ExpressionParser.php @@ -319,7 +319,7 @@ public function parseStringExpression() } /** - * @deprecated since 3.11, use parseSequenceExpression() instead + * @deprecated since Twig 3.11, use parseSequenceExpression() instead */ public function parseArrayExpression() { @@ -360,7 +360,7 @@ public function parseSequenceExpression() } /** - * @deprecated since 3.11, use parseMappingExpression() instead + * @deprecated since Twig 3.11, use parseMappingExpression() instead */ public function parseHashExpression() { diff --git a/src/Node/Expression/CallExpression.php b/src/Node/Expression/CallExpression.php index 5154d8bf9ea..8e999c7eb9e 100644 --- a/src/Node/Expression/CallExpression.php +++ b/src/Node/Expression/CallExpression.php @@ -128,7 +128,7 @@ protected function compileArguments(Compiler $compiler, $isArray = false): void } /** - * @deprecated since 3.12, use Twig\Util\CallableArgumentsExtractor::getArguments() instead + * @deprecated since Twig 3.12, use Twig\Util\CallableArgumentsExtractor::getArguments() instead */ protected function getArguments($callable, $arguments) { @@ -258,7 +258,7 @@ protected function getArguments($callable, $arguments) } /** - * @deprecated since 3.12 + * @deprecated since Twig 3.12 */ protected function normalizeName(string $name): string {