Remove unused method getGenderNumeric that creates phpstan errors

This commit is contained in:
Julie Lenaerts 2024-10-21 15:39:27 +02:00
parent 9416a19d85
commit ddfaa2861e

View File

@ -1006,24 +1006,6 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
return $this->genderComment; 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 public function getHouseholdAddresses(): Collection
{ {
return $this->householdAddresses; return $this->householdAddresses;