remove deprecated templating component

This commit is contained in:
2023-07-22 23:05:34 +02:00
parent 4028cc8a8b
commit 7a5db59ac2
10 changed files with 29 additions and 45 deletions

View File

@@ -18,6 +18,7 @@ use Symfony\Bundle\TwigBundle\TwigEngine;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Twig\Environment;
class CustomFieldTitle extends AbstractCustomField
{
@@ -28,8 +29,7 @@ class CustomFieldTitle extends AbstractCustomField
final public const TYPE_TITLE = 'title';
public function __construct(
private readonly RequestStack $requestStack,
private readonly TwigEngine $templating,
private readonly Environment $templating,
/**
* @var TranslatableStringHelper Helper that find the string in current locale from an array of translation
*/