From 85070a4fdc878c1b33e5121835b8b5a6fc96d295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=BChl?= Date: Mon, 1 Oct 2018 21:44:02 +0200 Subject: [PATCH] Use Symfony's provided Route annotation Contao 4.4.24 removes the sensio/frameworks-extra-bundle dependency which contains the class referenced for Symfony routing by this bundle. This class has been deprecated in Symfony 5.2 because it became part of the Symfony core. Fixes #6 --- src/Controller/ContentApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/ContentApiController.php b/src/Controller/ContentApiController.php index e4e08f3..426a8d9 100644 --- a/src/Controller/ContentApiController.php +++ b/src/Controller/ContentApiController.php @@ -2,7 +2,7 @@ namespace DieSchittigs\ContaoContentApiBundle\Controller; -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; +use Symfony\Component\Routing\Annotation\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Response; use DieSchittigs\ContaoContentApiBundle\FrontendApi;