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