Resolve "Permettre de télécharger la liste des problématiques et la liste des actions en CSV"

This commit is contained in:
2025-02-19 11:18:04 +00:00
committed by Julien Fastré
parent 02f555efae
commit 51804b10c0
13 changed files with 463 additions and 152 deletions

View File

@@ -19,7 +19,7 @@ use Symfony\Contracts\Translation\TranslatorInterface;
/**
* @implements ChillEntityRenderInterface<SocialIssue>
*/
final readonly class SocialIssueRender implements ChillEntityRenderInterface
class SocialIssueRender implements ChillEntityRenderInterface
{
public const AND_CHILDREN_MENTION = 'show_and_children_mention';
@@ -37,7 +37,7 @@ final readonly class SocialIssueRender implements ChillEntityRenderInterface
*/
public const SHOW_AND_CHILDREN = 'show_and_children';
public function __construct(private TranslatableStringHelper $translatableStringHelper, private \Twig\Environment $engine, private TranslatorInterface $translator) {}
public function __construct(private readonly TranslatableStringHelper $translatableStringHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator) {}
public function renderBox($socialIssue, array $options): string
{