mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -22,8 +22,7 @@ final readonly class FilterOrderGetActiveFilterHelper
|
||||
private TranslatorInterface $translator,
|
||||
private PropertyAccessorInterface $propertyAccessor,
|
||||
private UserRender $userRender,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Return all the data required to display the active filters.
|
||||
|
@@ -51,8 +51,7 @@ final class FilterOrderHelper
|
||||
public function __construct(
|
||||
private readonly FormFactoryInterface $formFactory,
|
||||
private readonly RequestStack $requestStack,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function addSingleCheckbox(string $name, string $label): self
|
||||
{
|
||||
|
@@ -37,9 +37,7 @@ 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
|
||||
{
|
||||
|
@@ -16,9 +16,7 @@ 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
|
||||
{
|
||||
|
@@ -25,8 +25,7 @@ class Templating extends AbstractExtension
|
||||
public function __construct(
|
||||
private readonly RequestStack $requestStack,
|
||||
private readonly FilterOrderGetActiveFilterHelper $filterOrderGetActiveFilterHelper,
|
||||
) {
|
||||
}
|
||||
) {}
|
||||
|
||||
public function getFilters(): array
|
||||
{
|
||||
|
Reference in New Issue
Block a user