mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -167,7 +167,7 @@ class ReportSearch extends AbstractSearch implements ContainerAwareInterface
|
||||
->orderBy('r.date', 'desc');
|
||||
|
||||
$reportQuery = $qb->getQuery();
|
||||
$reportQuery->setFetchMode('Chill\\ReportBundle\\Entity\\Report', 'person', \Doctrine\ORM\Mapping\ClassMetadata::FETCH_EAGER);
|
||||
$reportQuery->setFetchMode(\Chill\ReportBundle\Entity\Report::class, 'person', \Doctrine\ORM\Mapping\ClassMetadata::FETCH_EAGER);
|
||||
|
||||
return $reportQuery->getResult();
|
||||
}
|
||||
|
Reference in New Issue
Block a user