From 609a277f0330571c9bcd02bc722a968d794162be Mon Sep 17 00:00:00 2001 From: Tchama Date: Thu, 10 Sep 2020 12:02:51 +0200 Subject: [PATCH] inject PaginatorFactory in constructor (omit) --- Controller/ReportController.php | 1 - config/services/controller.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/ReportController.php b/Controller/ReportController.php index 2c9a7f4bd..fe0cb9767 100644 --- a/Controller/ReportController.php +++ b/Controller/ReportController.php @@ -30,7 +30,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Security\Core\Role\Role; use Symfony\Component\Form\Extension\Core\Type\FormType; - use Chill\PersonBundle\Entity\Person; use Chill\ReportBundle\Entity\Report; use Chill\ReportBundle\Form\ReportType; diff --git a/config/services/controller.yaml b/config/services/controller.yaml index 42c2c1268..0eb58e45a 100644 --- a/config/services/controller.yaml +++ b/config/services/controller.yaml @@ -3,4 +3,5 @@ services: arguments: $eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface' $authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper' + $paginator: '@Chill\MainBundle\Pagination\PaginatorFactory' tags: ['controller.service_arguments']