From 8ba51bafd0055fc0a7be6b20955d00a293613ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Sat, 30 Apr 2022 00:06:58 +0200 Subject: [PATCH] fix loading report: use FQDN instead of entity shortcut --- src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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