From 327fa7d5277651f7a259cb7a1e6c7a514f8da0b0 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Mon, 15 Aug 2022 00:24:19 +0200 Subject: [PATCH] Extend right FOSRestBundle controller class --- .../Controller/WallabagAnnotationController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php index 883ce4a89..c13e6d449 100644 --- a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php +++ b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php @@ -2,7 +2,7 @@ namespace Wallabag\AnnotationBundle\Controller; -use FOS\RestBundle\Controller\FOSRestController; +use FOS\RestBundle\Controller\AbstractFOSRestController; use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; @@ -11,7 +11,7 @@ use Wallabag\AnnotationBundle\Form\EditAnnotationType; use Wallabag\AnnotationBundle\Form\NewAnnotationType; use Wallabag\CoreBundle\Entity\Entry; -class WallabagAnnotationController extends FOSRestController +class WallabagAnnotationController extends AbstractFOSRestController { /** * Retrieve annotations for an entry.