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
+4 -3
View File
@@ -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' => []];
}