Fix Factory

This commit is contained in:
philipp lang 2024-09-22 02:12:50 +02:00
parent 565cf2b158
commit aa862f1264
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class Course extends Data
) { ) {
} }
public static function factory(): CourseFactory public static function toFactory(): CourseFactory
{ {
return CourseFactory::new(); return CourseFactory::new();
} }

View File

@ -39,7 +39,7 @@ class MembershipEntry extends Data
) { ) {
} }
public static function factory(): MembershipEntryFactory public static function toFactory(): MembershipEntryFactory
{ {
return MembershipEntryFactory::new(); return MembershipEntryFactory::new();
} }