fix loading report: use FQDN instead of entity shortcut

This commit is contained in:
Julien Fastré 2022-04-30 00:06:58 +02:00
parent afdc32d416
commit 8ba51bafd0

View File

@ -148,7 +148,7 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or
private function getPeopleRandom($percentage) private function getPeopleRandom($percentage)
{ {
$people = $this->container->get('doctrine.orm.entity_manager') $people = $this->container->get('doctrine.orm.entity_manager')
->getRepository('ChillPersonBundle:Person') ->getRepository(Person::class)
->findAll(); ->findAll();
//keep only a part ($percentage) of the people //keep only a part ($percentage) of the people