Cs fix and phpstan fix

This commit is contained in:
2024-10-22 17:25:07 +02:00
parent 06cbfdd0c3
commit 086f391dc9
2 changed files with 4 additions and 3 deletions

View File

@@ -275,7 +275,7 @@ class LoadPeople extends AbstractFixture implements ContainerAwareInterface, Ord
*/
public function getRandomGender(): string
{
return $this->genders[array_rand($this->genders)];
return $this->genders[array_rand($this->genders)]->value;
}
/**