From 3d630eeedfafa7e7e780807ec030416fe2ab4aaa Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 4 Aug 2021 15:19:43 +0200 Subject: [PATCH] PaginatorFactory error fixed provisionary. This should probably be done with dependency injection throughout the whole file though, to be checked --- src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php b/src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php index ca28b1d14..18d37c99c 100644 --- a/src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php +++ b/src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php @@ -1137,11 +1137,12 @@ class CRUDController extends AbstractController } /** + * @todo (check how to do this with dependency injection and make changes...) * @return PaginatorFactory */ protected function getPaginatorFactory(): PaginatorFactory { - return $this->container->get(PaginatorFactory::class); + return $this->container->get('chill_main.paginator_factory'); } /**