From df2480c47c3bbe72be73396736b01445b9689383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 20 Mar 2023 21:36:46 +0100 Subject: [PATCH] Fixed: transform null value into emtpy string into ThirdParty::setProfession --- src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php b/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php index b13118168..29565e86a 100644 --- a/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php +++ b/src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php @@ -807,10 +807,10 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface /** * @return $this - */ - public function setProfession(string $profession): self + */"" + public function setProfession(?string $profession): self { - $this->profession = $profession; + $this->profession = (string) $profession; return $this; }