mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix fixture for persons
This commit is contained in:
parent
5dfa5e1e7f
commit
4d8bcc5a5a
@ -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];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user