mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -344,7 +344,7 @@ class ReportController extends AbstractController
|
||||
}
|
||||
|
||||
$cFGroups = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
|
||||
->findByEntity('Chill\ReportBundle\Entity\Report');
|
||||
->findByEntity(\Chill\ReportBundle\Entity\Report::class);
|
||||
|
||||
if (count($cFGroups) === 1) {
|
||||
return $this->redirect(
|
||||
@@ -403,7 +403,7 @@ class ReportController extends AbstractController
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
$cFGroups = $em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class)
|
||||
->findByEntity('Chill\ReportBundle\Entity\Report');
|
||||
->findByEntity(\Chill\ReportBundle\Entity\Report::class);
|
||||
|
||||
if (count($cFGroups) === 1) {
|
||||
return $this->redirect(
|
||||
|
Reference in New Issue
Block a user