From 94d40e1c9118c2b551a55403ea791051730021c3 Mon Sep 17 00:00:00 2001 From: "celine.c" Date: Fri, 31 May 2024 11:24:31 +0200 Subject: [PATCH] fix: use attribute instead of annotion for route declaration --- Controller/CallbackController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Controller/CallbackController.php b/Controller/CallbackController.php index d004dd7..e5f9431 100644 --- a/Controller/CallbackController.php +++ b/Controller/CallbackController.php @@ -22,9 +22,7 @@ public function __construct(LoggerInterface $logger, EventDispatcherInterface $d $this->dispatcher = $dispatcher; } - /** - * @Route("/universign/callback", name="mpp_universign_callback", methods="GET") - */ + #[Route('/universign/callback', name: 'mpp_universign_callback', methods: 'GET')] public function process(Request $request): Response { $status = $request->query->get('status');