mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
take parameter form_show_center
into account: not to ask center on person creation
This commit is contained in:
@@ -1182,9 +1182,9 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
* @param string $phonenumber
|
||||
* @return Person
|
||||
*/
|
||||
public function setPhonenumber($phonenumber = '')
|
||||
public function setPhonenumber(?string $phonenumber = '')
|
||||
{
|
||||
$this->phonenumber = $phonenumber;
|
||||
$this->phonenumber = (string) $phonenumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
@@ -1205,9 +1205,9 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
* @param string $mobilenumber
|
||||
* @return Person
|
||||
*/
|
||||
public function setMobilenumber($mobilenumber = '')
|
||||
public function setMobilenumber(?string $mobilenumber = '')
|
||||
{
|
||||
$this->mobilenumber = $mobilenumber;
|
||||
$this->mobilenumber = (string) $mobilenumber;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user