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
@@ -21,7 +21,7 @@ class ExtraChargesMetaService
foreach ($rows as $row) {
$val = (string) ($row['school_year'] ?? '');
if ($val !== '' && ! in_array($val, $schoolYears, true)) {
if ($val !== '' && !in_array($val, $schoolYears, true)) {
$schoolYears[] = $val;
}
}
@@ -39,7 +39,7 @@ class ExtraChargesMetaService
foreach ($rows as $row) {
$val = (string) ($row['school_year'] ?? '');
if ($val !== '' && ! in_array($val, $schoolYears, true)) {
if ($val !== '' && !in_array($val, $schoolYears, true)) {
$schoolYears[] = $val;
}
}
@@ -53,7 +53,7 @@ class ExtraChargesMetaService
$start = (int) $start;
if ($start > 0) {
for ($i = 1; $i <= 3; $i++) {
$schoolYears[] = ($start - $i).'-'.(($start - $i) + 1);
$schoolYears[] = ($start - $i) . '-' . (($start - $i) + 1);
}
}
}