Fixed: transform null value into emtpy string into ThirdParty::setProfession

This commit is contained in:
Julien Fastré 2023-03-20 21:36:46 +01:00
parent 06b7e84270
commit df2480c47c
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -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;
}