From 4df93e87a0be4bfaa48842ea3f4b2b552ad3b16f Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Mon, 16 Sep 2024 22:19:58 +0200 Subject: [PATCH] Use Attribute namespace (#242) --- src/Controller/DefaultController.php | 2 +- src/Controller/WebhookController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/DefaultController.php b/src/Controller/DefaultController.php index 465aa67..1f1021e 100644 --- a/src/Controller/DefaultController.php +++ b/src/Controller/DefaultController.php @@ -4,7 +4,7 @@ use App\Service\RepositoryProvider; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; -use Symfony\Component\Routing\Annotation\Route; +use Symfony\Component\Routing\Attribute\Route; class DefaultController extends AbstractController { diff --git a/src/Controller/WebhookController.php b/src/Controller/WebhookController.php index e24b87a..221e95b 100644 --- a/src/Controller/WebhookController.php +++ b/src/Controller/WebhookController.php @@ -6,7 +6,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\Routing\Annotation\Route; +use Symfony\Component\Routing\Attribute\Route; class WebhookController extends AbstractController {