mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fixed: transform null value into emtpy string into ThirdParty::setProfession
This commit is contained in:
parent
06b7e84270
commit
df2480c47c
@ -807,10 +807,10 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return $this
|
* @return $this
|
||||||
*/
|
*/""
|
||||||
public function setProfession(string $profession): self
|
public function setProfession(?string $profession): self
|
||||||
{
|
{
|
||||||
$this->profession = $profession;
|
$this->profession = (string) $profession;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user