Fixes #4056 -- Fix Settings with too strict of typing.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-04-22 17:31:31 -05:00
parent 486c1c7f7e
commit c5e3072819
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 3 additions and 3 deletions

View File

@ -918,16 +918,16 @@ class Settings
* @ORM\Column(name="mail_sender_email", type="string", length=255, nullable=true)
*
* @OA\Property(example="example@example.com")
* @var string The e-mail address of the sender of system e-mails.
* @var string|null The e-mail address of the sender of system e-mails.
*/
protected string $mail_sender_email = '';
protected $mail_sender_email = '';
public function getMailSenderEmail(): string
{
return $this->mail_sender_email;
}
public function setMailSenderEmail(string $mailSenderEmail): void
public function setMailSenderEmail(?string $mailSenderEmail): void
{
$this->mail_sender_email = $mailSenderEmail;
}