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 {