chore: type OrganizationInvitation in DefaultImporter, new formatting rules

This commit is contained in:
Gregor Vostrak
2024-09-02 16:24:43 +02:00
committed by Constantin Graf
parent 78b41ea0b7
commit 2bad9eaa3c

View File

@@ -159,6 +159,7 @@ abstract class DefaultImporter implements ImporterContract
],
]);
$this->organizationInvitationsImportHelper = new ImportDatabaseHelper(OrganizationInvitation::class, ['email', 'organization_id'], true, function (Builder $builder) {
/** @var Builder<OrganizationInvitation> $builder */
return $builder->where('organization_id', $this->organization->id);
}, validate: [
'email' => [