mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
fix loading report: use FQDN instead of entity shortcut
This commit is contained in:
parent
afdc32d416
commit
8ba51bafd0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user