From 6777cf722594d5a5052b2dee007c9750ec1d03c4 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 24 Nov 2022 13:01:55 +0100 Subject: [PATCH] household can be null in budget abstractElement --- src/Bundle/ChillBudgetBundle/Entity/AbstractElement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillBudgetBundle/Entity/AbstractElement.php b/src/Bundle/ChillBudgetBundle/Entity/AbstractElement.php index 5ff3e142f..73060f40b 100644 --- a/src/Bundle/ChillBudgetBundle/Entity/AbstractElement.php +++ b/src/Bundle/ChillBudgetBundle/Entity/AbstractElement.php @@ -150,7 +150,7 @@ abstract class AbstractElement return $this; } - public function setHousehold(Household $household): self + public function setHousehold(?Household $household): self { $this->household = $household;