Skip to content

Commit 4df93e8

Browse files
authored
Use Attribute namespace (#242)
1 parent 98e49cf commit 4df93e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controller/DefaultController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use App\Service\RepositoryProvider;
66
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
7-
use Symfony\Component\Routing\Annotation\Route;
7+
use Symfony\Component\Routing\Attribute\Route;
88

99
class DefaultController extends AbstractController
1010
{

src/Controller/WebhookController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
77
use Symfony\Component\HttpFoundation\JsonResponse;
88
use Symfony\Component\HttpFoundation\Request;
9-
use Symfony\Component\Routing\Annotation\Route;
9+
use Symfony\Component\Routing\Attribute\Route;
1010

1111
class WebhookController extends AbstractController
1212
{

0 commit comments

Comments
 (0)