mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-28 09:34:59 +00:00
csfixer
This commit is contained in:
@@ -24,10 +24,10 @@ use function in_array;
|
||||
|
||||
class ChildrenNumberAggregator implements AggregatorInterface
|
||||
{
|
||||
private TranslatorInterface $translator;
|
||||
|
||||
private RollingDateConverterInterface $rollingDateConverter;
|
||||
|
||||
private TranslatorInterface $translator;
|
||||
|
||||
public function __construct(
|
||||
TranslatorInterface $translator,
|
||||
RollingDateConverterInterface $rollingDateConverter
|
||||
@@ -59,7 +59,8 @@ class ChildrenNumberAggregator implements AggregatorInterface
|
||||
->addSelect('composition_children.numberOfChildren AS childrennumber_aggregator')
|
||||
->addGroupBy('childrennumber_aggregator');
|
||||
|
||||
$qb->setParameter('ondate_composition_children',
|
||||
$qb->setParameter(
|
||||
'ondate_composition_children',
|
||||
$this->rollingDateConverter->convert($data['on_date'])
|
||||
);
|
||||
}
|
||||
|
@@ -25,12 +25,12 @@ use function in_array;
|
||||
|
||||
class CompositionAggregator implements AggregatorInterface
|
||||
{
|
||||
private RollingDateConverterInterface $rollingDateConverter;
|
||||
|
||||
private TranslatableStringHelper $translatableStringHelper;
|
||||
|
||||
private HouseholdCompositionTypeRepository $typeRepository;
|
||||
|
||||
private RollingDateConverterInterface $rollingDateConverter;
|
||||
|
||||
public function __construct(
|
||||
HouseholdCompositionTypeRepository $typeRepository,
|
||||
TranslatableStringHelper $translatableStringHelper,
|
||||
@@ -64,7 +64,8 @@ class CompositionAggregator implements AggregatorInterface
|
||||
->addSelect('IDENTITY(composition_type.householdCompositionType) AS composition_aggregator')
|
||||
->addGroupBy('composition_aggregator');
|
||||
|
||||
$qb->setParameter('ondate_composition_type',
|
||||
$qb->setParameter(
|
||||
'ondate_composition_type',
|
||||
$this->rollingDateConverter->convert($data['on_date'])
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user