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

@@ -49,7 +49,7 @@ class LoadCustomFields extends AbstractFixture implements
/**
* LoadCustomFields constructor.
*/
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly TranslatorInterface $translator)
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper)
{
}
@@ -78,7 +78,6 @@ class LoadCustomFields extends AbstractFixture implements
private function createCustomFieldChoice()
{
return new CustomFieldChoice(
$this->translator,
$this->container->get('templating'),
$this->translatableStringHelper
);
@@ -87,7 +86,6 @@ class LoadCustomFields extends AbstractFixture implements
private function createCustomFieldText()
{
return new CustomFieldText(
$this->container->get('request_stack'),
$this->container->get('templating'),
$this->translatableStringHelper
);