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
@@ -23,7 +23,7 @@ class SchoolCalendarMeetingService
if ($audience === 'parent' && $parentUserId) {
$studentIds = $this->getStudentIdsForParent($parentUserId);
if (! empty($studentIds)) {
if (!empty($studentIds)) {
$builder->where(function (Builder $q) use ($parentUserId, $studentIds) {
$q->where('parent_user_id', $parentUserId)
->orWhereIn('student_id', $studentIds);
@@ -34,7 +34,7 @@ class SchoolCalendarMeetingService
}
$rows = $builder->orderBy('date', 'ASC')->get()->toArray();
if (! empty($rows)) {
if (!empty($rows)) {
return $rows;
}
@@ -48,7 +48,7 @@ class SchoolCalendarMeetingService
if ($audience === 'parent' && $parentUserId) {
$studentIds = $this->getStudentIdsForParent($parentUserId);
if (! empty($studentIds)) {
if (!empty($studentIds)) {
$fallback->where(function (Builder $q) use ($parentUserId, $studentIds) {
$q->where('parent_user_id', $parentUserId)
->orWhereIn('student_id', $studentIds);