php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -30,7 +30,8 @@ final readonly class ClosingMotiveRender implements ChillEntityRenderInterface
public function __construct(
private TranslatableStringHelperInterface $translatableStringHelper,
private TranslatorInterface $translator
) {}
) {
}
public function renderBox($entity, array $options): string
{

View File

@@ -23,7 +23,9 @@ class PersonRender implements PersonRenderInterface
{
use BoxUtilsChillEntityRenderTrait;
public function __construct(private readonly ConfigPersonAltNamesHelper $configAltNamesHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator) {}
public function __construct(private readonly ConfigPersonAltNamesHelper $configAltNamesHelper, private readonly \Twig\Environment $engine, private readonly TranslatorInterface $translator)
{
}
public function renderBox($person, array $options): string
{

View File

@@ -19,4 +19,6 @@ use Chill\PersonBundle\Entity\Person;
*
* @extends ChillEntityRenderInterface<Person>
*/
interface PersonRenderInterface extends ChillEntityRenderInterface {}
interface PersonRenderInterface extends ChillEntityRenderInterface
{
}

View File

@@ -20,7 +20,9 @@ use Chill\PersonBundle\Entity\Person\PersonResourceKind;
*/
final readonly class ResourceKindRender implements ChillEntityRenderInterface
{
public function __construct(private TranslatableStringHelper $translatableStringHelper) {}
public function __construct(private TranslatableStringHelper $translatableStringHelper)
{
}
public function renderBox($entity, array $options): string
{

View File

@@ -43,7 +43,9 @@ class SocialActionRender implements ChillEntityRenderInterface
*/
final public const SHOW_AND_CHILDREN = 'show_and_children';
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($socialAction, array $options): string
{

View File

@@ -37,7 +37,9 @@ 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 TranslatableStringHelper $translatableStringHelper, private \Twig\Environment $engine, private TranslatorInterface $translator)
{
}
public function renderBox($socialIssue, array $options): string
{