fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -13,7 +13,8 @@ class InvoiceTuitionService
private float $secondStudentFee,
private float $youthFee,
private string $timezone
) {}
) {
}
public function calculateTuitionFee(array $registeredKids, array $withdrawnKids, ?string $refundDeadline): float
{
@@ -60,7 +61,7 @@ class InvoiceTuitionService
private function isRefundAllowed(?string $refundDeadline): bool
{
if (! $refundDeadline) {
if (!$refundDeadline) {
return true;
}
@@ -68,7 +69,6 @@ class InvoiceTuitionService
$tz = new \DateTimeZone($this->timezone);
$today = new \DateTimeImmutable('today', $tz);
$deadline = new \DateTimeImmutable($refundDeadline, $tz);
return $today <= $deadline;
} catch (\Throwable $e) {
return true;