Rector changes and immplementations of required methods

This commit is contained in:
2025-05-22 17:47:07 +02:00
parent 053b92b77c
commit 17db59d221
1138 changed files with 2656 additions and 2616 deletions

View File

@@ -631,7 +631,7 @@ class AccompanyingPeriod implements
return $this->getOpenParticipations();
}
public function getGroupSequence()
public function getGroupSequence(): \Symfony\Component\Validator\Constraints\GroupSequence|array
{
if (self::STEP_DRAFT === $this->getStep()) {
return [[self::STEP_DRAFT]];
@@ -989,7 +989,7 @@ class AccompanyingPeriod implements
/**
* Validation functions.
*/
public function isDateConsistent(ExecutionContextInterface $context)
public function isDateConsistent(ExecutionContextInterface $context): void
{
if ($this->isOpen()) {
return;
@@ -1048,7 +1048,7 @@ class AccompanyingPeriod implements
/**
* Remove Participation.
*/
public function removeParticipation(AccompanyingPeriodParticipation $participation)
public function removeParticipation(AccompanyingPeriodParticipation $participation): void
{
$participation->setAccompanyingPeriod(null);
}