mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Merge branch 'master' into upgrade-php82
This commit is contained in:
@@ -805,12 +805,9 @@ 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;
|
||||
}
|
||||
|
@@ -110,6 +110,7 @@ class ThirdPartyType extends AbstractType
|
||||
->add('profession', TextType::class, [
|
||||
'label' => 'thirdparty.Profession',
|
||||
'required' => false,
|
||||
'empty_data' => '',
|
||||
])
|
||||
->add('contactDataAnonymous', CheckboxType::class, [
|
||||
'required' => false,
|
||||
|
Reference in New Issue
Block a user