mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
DX: fix cs
This commit is contained in:
@@ -828,7 +828,7 @@ class AccompanyingPeriod implements
|
||||
$collection = $this
|
||||
->getParticipationsContainsPerson($person)
|
||||
->filter(
|
||||
static fn(AccompanyingPeriodParticipation $participation): bool => null === $participation->getEndDate()
|
||||
static fn (AccompanyingPeriodParticipation $participation): bool => null === $participation->getEndDate()
|
||||
);
|
||||
|
||||
return $collection->count() > 0 ? $collection->first() : null;
|
||||
@@ -842,7 +842,7 @@ class AccompanyingPeriod implements
|
||||
return $this
|
||||
->getParticipations()
|
||||
->filter(
|
||||
static fn(AccompanyingPeriodParticipation $participation): bool => null === $participation->getEndDate()
|
||||
static fn (AccompanyingPeriodParticipation $participation): bool => null === $participation->getEndDate()
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user