From ddfaa2861e21a77fa451708a2f67e3b9c7e2a5f3 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 21 Oct 2024 15:39:27 +0200 Subject: [PATCH] Remove unused method getGenderNumeric that creates phpstan errors --- src/Bundle/ChillPersonBundle/Entity/Person.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Entity/Person.php b/src/Bundle/ChillPersonBundle/Entity/Person.php index e515b2516..f26aa095e 100644 --- a/src/Bundle/ChillPersonBundle/Entity/Person.php +++ b/src/Bundle/ChillPersonBundle/Entity/Person.php @@ -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;