diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-15 15:57:43 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-03-15 15:57:43 +0000 |
| commit | 8bea063bb504154fb47e064f51dc61c6f8a1b66f (patch) | |
| tree | 5aba11d878b4727c394df816c5433ec0a2571273 /app/controllers/my_courses.php | |
| parent | cec90ca497d70ff9ebbdc27958f9540844395e7f (diff) | |
fixes #3740
Closes #3740
Merge request studip/studip!2598
Diffstat (limited to 'app/controllers/my_courses.php')
| -rw-r--r-- | app/controllers/my_courses.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/my_courses.php b/app/controllers/my_courses.php index 8b4d037..27210b3 100644 --- a/app/controllers/my_courses.php +++ b/app/controllers/my_courses.php @@ -713,7 +713,7 @@ class MyCoursesController extends AuthenticatedController /** * Get the data array for presenting the course list in Vue. * - * @param array $sem_courses + * @param array|null $sem_courses * @param string $group_field * @return array{ * courses: array, @@ -730,7 +730,7 @@ class MyCoursesController extends AuthenticatedController * } * } */ - private function getMyCoursesData(array $sem_courses, string $group_field): array + private function getMyCoursesData(?array $sem_courses, string $group_field): array { $sem_data = Semester::getAllAsArray(); $temp_courses = []; |
