This commit is contained in:
philipp lang 2025-04-03 00:53:22 +02:00
parent abf4158256
commit 858ae7f8d1
1 changed files with 4 additions and 3 deletions
app/Member/Data

View File

@ -9,7 +9,8 @@ use Zoomyboy\LaravelNami\Data\Member as NamiMember;
use Zoomyboy\LaravelNami\Data\MembershipEntry as NamiMembershipEntry;
use Spatie\LaravelData\Attributes\DataCollectionOf;
class FullMember extends Data {
class FullMember extends Data
{
/**
* @param DataCollection<int, NamiCourse> $courses
* @param DataCollection<int, NamiMembershipEntry> $memberships
@ -20,6 +21,6 @@ class FullMember extends Data {
public DataCollection $courses,
#[DataCollectionOf(NamiMembershipEntry::class)]
public DataCollection $memberships,
) {}
) {
}
}