Implements new return types

This commit is contained in:
2025-04-07 14:35:29 +02:00
parent 1c4ee37507
commit 8e952cc966
236 changed files with 693 additions and 693 deletions

View File

@@ -23,7 +23,7 @@ class MonthYearAggregator implements AggregatorInterface
return null;
}
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext)
public function alterQuery(QueryBuilder $qb, $data, \Chill\MainBundle\Export\ExportGenerationContext $exportGenerationContext): void
{
$qb->addSelect("to_char(cal.startDate, 'MM-YYYY') AS month_year_aggregator");
// $qb->addSelect("extract(month from age(cal.startDate, cal.endDate)) AS month_aggregator");
@@ -35,7 +35,7 @@ class MonthYearAggregator implements AggregatorInterface
return Declarations::CALENDAR_TYPE;
}
public function buildForm(FormBuilderInterface $builder)
public function buildForm(FormBuilderInterface $builder): void
{
// No form needed
}