Fix Laravel Pint formatting
This commit is contained in:
@@ -21,7 +21,7 @@ class LandingPageParentDashboardService
|
||||
$semester = (string) ($context['semester'] ?? '');
|
||||
|
||||
$parentId = $this->primaryParentResolver->resolveFromCredentials($parentUserId, $userType);
|
||||
if (!$parentId) {
|
||||
if (! $parentId) {
|
||||
return [
|
||||
'ok' => false,
|
||||
'message' => 'Unable to retrieve student data. Please contact support.',
|
||||
@@ -38,6 +38,7 @@ class LandingPageParentDashboardService
|
||||
$classSection = StudentClass::getClassSectionsByStudentId($student['id'], $schoolYear);
|
||||
$student['class_section'] = $classSection;
|
||||
$student['grade'] = $classSection;
|
||||
|
||||
return $student;
|
||||
})
|
||||
->all();
|
||||
|
||||
Reference in New Issue
Block a user