add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 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'] ?? [],
];
}
}
}