add test batches
This commit is contained in:
@@ -11,7 +11,8 @@ class LandingPageService
|
||||
private LandingPageContextService $contextService,
|
||||
private LandingPageTeacherSummaryService $teacherSummaryService,
|
||||
private LandingPageParentDashboardService $parentDashboardService
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function dashboardForUser(?User $user, ?int $classSectionId = null): array
|
||||
{
|
||||
@@ -45,7 +46,7 @@ class LandingPageService
|
||||
|
||||
public function teacher(?User $user, ?int $classSectionId = null): array
|
||||
{
|
||||
if (! $user) {
|
||||
if (!$user) {
|
||||
return ['role' => 'teacher', 'dashboard' => 'teacher', 'summary' => []];
|
||||
}
|
||||
|
||||
@@ -66,7 +67,7 @@ class LandingPageService
|
||||
|
||||
public function parent(?User $user): array
|
||||
{
|
||||
if (! $user) {
|
||||
if (!$user) {
|
||||
return ['role' => 'parent', 'dashboard' => 'parent', 'summary' => []];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user