diff --git a/src/Bundle/ChillPersonBundle/Entity/Person.php b/src/Bundle/ChillPersonBundle/Entity/Person.php index 3fc0da96c..a0c37ec00 100644 --- a/src/Bundle/ChillPersonBundle/Entity/Person.php +++ b/src/Bundle/ChillPersonBundle/Entity/Person.php @@ -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.