diff --git a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php index eeaffe0b7..a1d705ca2 100644 --- a/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php +++ b/src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php @@ -148,7 +148,7 @@ class LoadReports extends AbstractFixture implements ContainerAwareInterface, Or private function getPeopleRandom($percentage) { $people = $this->container->get('doctrine.orm.entity_manager') - ->getRepository('ChillPersonBundle:Person') + ->getRepository(Person::class) ->findAll(); //keep only a part ($percentage) of the people