Skip to content

Commit d4bf0f7

Browse files
committed
Internal: Convert SessionRelCourseRelUser::$statusList to SessionRelCourseRelUser::STATUS_LIST
As a public property api-platform added it in the requests body
1 parent a1d51fc commit d4bf0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreBundle/Entity/SessionRelCourseRelUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class SessionRelCourseRelUser
6161
/**
6262
* @var array<int, string>
6363
*/
64-
public array $statusList = [
64+
public const STATUS_LIST = [
6565
Session::STUDENT => 'student',
6666
Session::COURSE_COACH => 'course_coach',
6767
];

0 commit comments

Comments
 (0)