mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 06:44:59 +00:00
DX: rector apply rules 'symfony up to 4.4
This commit is contained in:
@@ -36,7 +36,7 @@ class AddressRender implements ChillEntityRenderInterface
|
||||
'extended_infos' => false,
|
||||
];
|
||||
|
||||
public function __construct(private readonly EngineInterface $templating, private readonly TranslatableStringHelperInterface $translatableStringHelper)
|
||||
public function __construct(private readonly \Twig\Environment $templating, private readonly TranslatableStringHelperInterface $translatableStringHelper)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,7 @@ class CommentRender implements ChillEntityRenderInterface
|
||||
{
|
||||
use BoxUtilsChillEntityRenderTrait;
|
||||
|
||||
public function __construct(private readonly UserRepositoryInterface $userRepository, private readonly EngineInterface $engine)
|
||||
public function __construct(private readonly UserRepositoryInterface $userRepository, private readonly \Twig\Environment $engine)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -30,7 +30,7 @@ class UserRender implements ChillEntityRenderInterface
|
||||
'absence' => true,
|
||||
];
|
||||
|
||||
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly EngineInterface $engine, private readonly TranslatorInterface $translator)
|
||||
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user