fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
+3 -4
View File
@@ -11,8 +11,7 @@ class LandingPageService
private LandingPageContextService $contextService,
private LandingPageTeacherSummaryService $teacherSummaryService,
private LandingPageParentDashboardService $parentDashboardService
) {
}
) {}
public function dashboardForUser(?User $user, ?int $classSectionId = null): array
{
@@ -46,7 +45,7 @@ class LandingPageService
public function teacher(?User $user, ?int $classSectionId = null): array
{
if (!$user) {
if (! $user) {
return ['role' => 'teacher', 'dashboard' => 'teacher', 'summary' => []];
}
@@ -67,7 +66,7 @@ class LandingPageService
public function parent(?User $user): array
{
if (!$user) {
if (! $user) {
return ['role' => 'parent', 'dashboard' => 'parent', 'summary' => []];
}