Skip to content
Snippets Groups Projects
Commit 8bea063b authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

fixes #3740

Closes #3740

Merge request studip/studip!2598
parent cec90ca4
No related branches found
No related tags found
No related merge requests found
......@@ -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 = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment