Php cs fixes and phpstan

This commit is contained in:
2024-10-22 15:56:41 +02:00
parent 73b0dd6009
commit f1844ae02b
5 changed files with 26 additions and 12 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)->value];
return $this->genders[array_rand($this->genders)];
}
/**