Skip to content

Commit 0436740

Browse files
author
MateuszKolankowski
committed
Fixed CI setup
1 parent 33ee512 commit 0436740

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/bundle/Controller/UserInvitationController.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ public function inviteUser(Request $request): FormView
5252
/** @var \Ibexa\User\Form\Data\UserInvitationData $data */
5353
$data = $form->getData();
5454

55-
if ($data->getEmail() === null){
56-
throw new InvalidArgumentException('Email cannot be null');
57-
}
58-
5955
try {
6056
$invitation = $this->invitationService->createInvitation(
6157
new InvitationCreateStruct(

0 commit comments

Comments
 (0)