From 2c285801947dcbb2f262d4239662229d7f7c7e89 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 26 May 2022 01:30:03 +0200 Subject: [PATCH] Fixed: Membership subactivityId could be null --- src/Data/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/Membership.php b/src/Data/Membership.php index 3e632bc..31e4c3d 100644 --- a/src/Data/Membership.php +++ b/src/Data/Membership.php @@ -28,7 +28,7 @@ class Membership extends DataTransferObject public int $activityId; #[MapFrom('untergliederungId')] - public int $subactivityId; + public ?int $subactivityId; #[MapFrom('gruppierung')] public ?string $group;