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
@@ -9,7 +9,7 @@ class TeacherAttendanceFormResource extends JsonResource
{
public function toArray(Request $request): array
{
$enable = (int) ($this['enable_attendance'] ?? 0);
$enable = (int)($this['enable_attendance'] ?? 0);
$res = $this->resource;
$hasCanEditKey = is_array($res) && array_key_exists('can_edit', $res);
@@ -29,4 +29,4 @@ class TeacherAttendanceFormResource extends JsonResource
'locked_by_student' => $this['locked_by_student'] ?? [],
];
}
}
}