Rector sf6 changes

This commit is contained in:
2025-10-02 16:25:30 +02:00
parent 4a08de09b8
commit 8fc19d5c28
4 changed files with 4 additions and 3 deletions

View File

@@ -119,6 +119,7 @@ class CSVFormatter implements FormatterInterface
array $exportData, array $exportData,
array $filtersData, array $filtersData,
array $aggregatorsData, array $aggregatorsData,
\Chill\MainBundle\Export\ExportGenerationContext $context,
): Response { ): Response {
$this->result = $result; $this->result = $result;
$this->orderingHeaders($formatterData); $this->orderingHeaders($formatterData);

View File

@@ -29,7 +29,7 @@ class OnExportGenerationFails implements EventSubscriberInterface
private readonly EntityManagerInterface $entityManager, private readonly EntityManagerInterface $entityManager,
) {} ) {}
public static function getSubscribedEvents() public static function getSubscribedEvents(): array
{ {
return [ return [
WorkerMessageFailedEvent::class => 'onMessageFailed', WorkerMessageFailedEvent::class => 'onMessageFailed',

View File

@@ -75,7 +75,7 @@ class PickUserOrMeDynamicType extends AbstractType
->setAllowedTypes('submit_on_adding_new_entity', ['bool']); ->setAllowedTypes('submit_on_adding_new_entity', ['bool']);
} }
public function getBlockPrefix() public function getBlockPrefix(): string
{ {
return 'pick_entity_dynamic'; return 'pick_entity_dynamic';
} }

View File

@@ -44,7 +44,7 @@ class PickLinkedAccompanyingPeriodWorkType extends AbstractType
->setAllowedTypes('submit_on_adding_new_entity', ['bool']); ->setAllowedTypes('submit_on_adding_new_entity', ['bool']);
} }
public function getBlockPrefix() public function getBlockPrefix(): string
{ {
return 'pick_linked_entities'; return 'pick_linked_entities';
} }