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,9 @@ 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,7 +21,9 @@ 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,7 +27,9 @@ 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
{

View File

@@ -22,7 +22,8 @@ final readonly class FilterOrderGetActiveFilterHelper
private TranslatorInterface $translator,
private PropertyAccessorInterface $propertyAccessor,
private UserRender $userRender,
) {}
) {
}
/**
* Return all the data required to display the active filters.

View File

@@ -51,7 +51,8 @@ final class FilterOrderHelper
public function __construct(
private readonly FormFactoryInterface $formFactory,
private readonly RequestStack $requestStack,
) {}
) {
}
public function addSingleCheckbox(string $name, string $label): self
{

View File

@@ -37,7 +37,9 @@ class FilterOrderHelperBuilder
*/
private array $userPickers = [];
public function __construct(private readonly FormFactoryInterface $formFactory, private readonly RequestStack $requestStack) {}
public function __construct(private readonly FormFactoryInterface $formFactory, private readonly RequestStack $requestStack)
{
}
public function addSingleCheckbox(string $name, string $label): self
{

View File

@@ -16,7 +16,9 @@ use Symfony\Component\HttpFoundation\RequestStack;
class FilterOrderHelperFactory implements FilterOrderHelperFactoryInterface
{
public function __construct(private readonly FormFactoryInterface $formFactory, private readonly RequestStack $requestStack) {}
public function __construct(private readonly FormFactoryInterface $formFactory, private readonly RequestStack $requestStack)
{
}
public function create(string $context, ?array $options = []): FilterOrderHelperBuilder
{

View File

@@ -25,7 +25,8 @@ class Templating extends AbstractExtension
public function __construct(
private readonly RequestStack $requestStack,
private readonly FilterOrderGetActiveFilterHelper $filterOrderGetActiveFilterHelper,
) {}
) {
}
public function getFilters(): array
{

View File

@@ -22,7 +22,9 @@ class TranslatableStringTwig extends AbstractExtension
/**
* TranslatableStringTwig constructor.
*/
public function __construct(private readonly TranslatableStringHelper $helper) {}
public function __construct(private readonly TranslatableStringHelper $helper)
{
}
/**
* Returns a list of filters to add to the existing list.