fixes after merge of master into upgrade-sf4

This commit is contained in:
2024-02-12 22:31:16 +01:00
parent 37af488f69
commit f889d67e94
664 changed files with 795 additions and 1980 deletions

View File

@@ -30,9 +30,7 @@ class AddressRender implements ChillEntityRenderInterface
'extended_infos' => false,
];
public function __construct(private readonly \Twig\Environment $templating, private readonly TranslatableStringHelperInterface $translatableStringHelper)
{
}
public function __construct(private readonly \Twig\Environment $templating, private readonly TranslatableStringHelperInterface $translatableStringHelper) {}
public function renderBox($addr, array $options): string
{

View File

@@ -21,9 +21,7 @@ class CommentRender implements ChillEntityRenderInterface
{
use BoxUtilsChillEntityRenderTrait;
public function __construct(private readonly UserRepositoryInterface $userRepository, private readonly \Twig\Environment $engine)
{
}
public function __construct(private readonly UserRepositoryInterface $userRepository, private readonly \Twig\Environment $engine) {}
public function renderBox($entity, array $options): string
{

View File

@@ -27,9 +27,7 @@ class UserRender implements ChillEntityRenderInterface
'at' => null,
];
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator)
{
}
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator) {}
public function renderBox($entity, array $options): string
{