mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -14,10 +14,7 @@ namespace Chill\PersonBundle\Templating\Entity;
|
||||
use Chill\MainBundle\Templating\Entity\ChillEntityRenderInterface;
|
||||
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
||||
use Chill\PersonBundle\Entity\SocialWork\SocialIssue;
|
||||
use Symfony\Component\Templating\EngineInterface;
|
||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||
use function array_reverse;
|
||||
use function implode;
|
||||
|
||||
/**
|
||||
* @implements ChillEntityRenderInterface<SocialIssue>
|
||||
@@ -75,12 +72,12 @@ final readonly class SocialIssueRender implements ChillEntityRenderInterface
|
||||
);
|
||||
}
|
||||
|
||||
$titles = array_reverse($titles);
|
||||
$titles = \array_reverse($titles);
|
||||
|
||||
$title = implode($options[self::SEPARATOR_KEY], $titles);
|
||||
$title = \implode($options[self::SEPARATOR_KEY], $titles);
|
||||
|
||||
if ($options[self::SHOW_AND_CHILDREN] && $socialIssue->hasChildren()) {
|
||||
$title .= ' (' . $this->translator->trans($options[self::AND_CHILDREN_MENTION]) . ')';
|
||||
$title .= ' ('.$this->translator->trans($options[self::AND_CHILDREN_MENTION]).')';
|
||||
}
|
||||
|
||||
return $title;
|
||||
|
Reference in New Issue
Block a user