mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
Fixed: transform null value into emtpy string into ThirdParty::setProfession
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user