mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
do not use arrayAccess for Collection in validator
This commit is contained in:
parent
54997e5893
commit
f8b97b96f4
@ -35,7 +35,7 @@ class HouseholdMembershipSequentialValidator extends ConstraintValidator
|
||||
return;
|
||||
}
|
||||
|
||||
$covers = new DateRangeCovering(1, $participations[0]
|
||||
$covers = new DateRangeCovering(1, $participations->first()
|
||||
->getStartDate()->getTimezone());
|
||||
|
||||
foreach ($participations as $k => $p) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user