This commit is contained in:
@@ -40,6 +40,8 @@ final class SchoolYearValidationService
|
||||
if ($registrationStarts !== null && $registrationEnds !== null && $registrationStarts > $registrationEnds) {
|
||||
throw new InvalidArgumentException('Registration start date must be on or before the registration end date.');
|
||||
}
|
||||
|
||||
$this->dateOrNull($payload['fall_makeup_exam_on'] ?? null);
|
||||
}
|
||||
|
||||
public function isValidYearName(string $value): bool
|
||||
|
||||
Reference in New Issue
Block a user