mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Remove unused method getGenderNumeric that creates phpstan errors
This commit is contained in:
parent
9416a19d85
commit
ddfaa2861e
@ -1006,24 +1006,6 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
return $this->genderComment;
|
||||
}
|
||||
|
||||
// /**
|
||||
// * return gender as a Numeric form.
|
||||
// * This is used for translations.
|
||||
// *
|
||||
// * @return int
|
||||
// *
|
||||
// * @deprecated Keep for legacy. Used in Chill 1.5 for feminize before icu translations
|
||||
// */
|
||||
/* public function getGenderNumeric()
|
||||
{
|
||||
return match ($this->getGender()) {
|
||||
self::FEMALE_GENDER => 1,
|
||||
self::MALE_GENDER => 0,
|
||||
self::BOTH_GENDER => 2,
|
||||
default => -1,
|
||||
};
|
||||
}*/
|
||||
|
||||
public function getHouseholdAddresses(): Collection
|
||||
{
|
||||
return $this->householdAddresses;
|
||||
|
Loading…
x
Reference in New Issue
Block a user