mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user