mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
Fix fixture for persons
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user