Fix possible null values or not null values in some entity / string properties

This commit is contained in:
2023-10-17 23:15:06 +02:00
parent d54d34be7c
commit 9ec5a633ad
10 changed files with 30 additions and 29 deletions

View File

@@ -234,7 +234,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
*
* @ORM\Column(type="text", nullable=true)
*/
private string $contactInfo = '';
private ?string $contactInfo = '';
/**
* The person's country of birth.
@@ -298,7 +298,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
*
* @Assert\Email()
*/
private string $email = '';
private ?string $email = '';
/**
* The person's first name.
@@ -319,7 +319,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
*
* @ORM\Column(type="text", nullable=true)
*/
private string $fullnameCanonical = '';
private ?string $fullnameCanonical = '';
/**
* The person's gender.
@@ -413,7 +413,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
*
* @ORM\Column(type="text")
*/
private string $memo = ''; // TO-CHANGE in remark
private string $memo = '';
/**
* The person's mobile phone number.