From c39cfc1ff701927c8dcc7246888da825d3b42822 Mon Sep 17 00:00:00 2001 From: Sieciech Date: Wed, 1 Sep 2021 20:23:43 +0200 Subject: [PATCH] fix --- src/backend/src/Entity/Person.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/src/Entity/Person.php b/src/backend/src/Entity/Person.php index 0284a7b..07f4564 100644 --- a/src/backend/src/Entity/Person.php +++ b/src/backend/src/Entity/Person.php @@ -29,12 +29,12 @@ class Person extends BaseEntity private $surname; /** - * @ORM\ManyToOne(targetEntity=Country::class, nullable=true) + * @ORM\ManyToOne(targetEntity=Country::class) */ private $country; /** - * @ORM\ManyToOne(targetEntity=CountryRegion::class, nullable=true) + * @ORM\ManyToOne(targetEntity=CountryRegion::class) */ private $state;