From aad4b6e5d03022f18bee837f765bd93423d8e33a Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 25 Nov 2021 16:18:45 +0100 Subject: [PATCH] location: allow null value for defaultFor --- src/Bundle/ChillMainBundle/Entity/LocationType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Entity/LocationType.php b/src/Bundle/ChillMainBundle/Entity/LocationType.php index a9ff33414..b0d91a4f1 100644 --- a/src/Bundle/ChillMainBundle/Entity/LocationType.php +++ b/src/Bundle/ChillMainBundle/Entity/LocationType.php @@ -142,7 +142,7 @@ class LocationType return $this; } - public function setDefaultFor(string $defaultFor): self + public function setDefaultFor(?string $defaultFor): self { $this->defaultFor = $defaultFor;