mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
do not use arrayAccess for Collection in validator
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user