default value for Phonenumbers

This commit is contained in:
Julien Fastré 2022-03-02 14:21:53 +01:00
parent e9ffdb1f03
commit 3eb826d422

View File

@ -375,7 +375,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
* @PhonenumberConstraint(type="mobile")
* @ORM\Column(type="phone_number")
*/
private ?PhoneNumber $mobilenumber;
private ?PhoneNumber $mobilenumber = null;
/**
* The person's nationality.
@ -430,7 +430,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
* type="landline",
* )
*/
private ?PhoneNumber $phonenumber;
private ?PhoneNumber $phonenumber = null;
/**
* The person's place of birth.