wip: dynamic services fields

This commit is contained in:
Björn Fromme
2026-03-16 11:59:09 +01:00
parent 7003c0d81b
commit 6bd483d768
21 changed files with 634 additions and 39 deletions
@@ -126,7 +126,7 @@ class AgeRangeCondition implements FieldConditionInterface
*
* Uses DateTimeImmutable to ensure immutable date calculations and
* handles the calculation accurately accounting for leap years and
* exact birth date anniversaries.
* exact birthdate anniversaries.
*
* @param \DateTimeImmutable $dateOfBirth The participant's date of birth
*
@@ -136,6 +136,6 @@ class AgeRangeCondition implements FieldConditionInterface
{
$today = new \DateTimeImmutable();
return (int) $dateOfBirth->diff($today)->y;
return $dateOfBirth->diff($today)->y;
}
}