Fix Pint formatting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user