Skip to content

Commit

Permalink
fix: nullable custom-form email
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed May 25, 2022
1 parent 202ea2a commit 4fbeb58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Entity/CustomForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,19 +152,19 @@ public function setDescription(string $description): CustomForm
}

/**
* @return string
* @return string|null
*/
public function getEmail(): ?string
{
return $this->email;
}

/**
* @param string $email
* @param string|null $email
*
* @return $this
*/
public function setEmail(string $email): CustomForm
public function setEmail(?string $email): CustomForm
{
$this->email = $email;
return $this;
Expand Down

0 comments on commit 4fbeb58

Please sign in to comment.