Fixes phpstan

This commit is contained in:
2024-10-01 15:51:45 +02:00
parent 77ece243c0
commit 052e09cf64
7 changed files with 28 additions and 45 deletions

View File

@@ -1014,7 +1014,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
*
* @deprecated Keep for legacy. Used in Chill 1.5 for feminize before icu translations
*/
public function getGenderNumeric()
/* public function getGenderNumeric()
{
return match ($this->getGender()) {
self::FEMALE_GENDER => 1,
@@ -1022,7 +1022,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
self::BOTH_GENDER => 2,
default => -1,
};
}
}*/
public function getHouseholdAddresses(): Collection
{