File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ send SMS messages::
169
169
use Symfony\Component\HttpFoundation\Response;
170
170
use Symfony\Component\Notifier\Message\SmsMessage;
171
171
use Symfony\Component\Notifier\TexterInterface;
172
- use Symfony\Component\Routing\Annotation \Route;
172
+ use Symfony\Component\Routing\Attribute \Route;
173
173
174
174
class SecurityController
175
175
{
@@ -318,13 +318,11 @@ you to send messages to chat services::
318
318
use Symfony\Component\HttpFoundation\Response;
319
319
use Symfony\Component\Notifier\ChatterInterface;
320
320
use Symfony\Component\Notifier\Message\ChatMessage;
321
- use Symfony\Component\Routing\Annotation \Route;
321
+ use Symfony\Component\Routing\Attribute \Route;
322
322
323
323
class CheckoutController extends AbstractController
324
324
{
325
- /**
326
- * @Route("/checkout/thankyou")
327
- */
325
+ #[Route('/checkout/thankyou')]
328
326
public function thankyou(ChatterInterface $chatter): Response
329
327
{
330
328
$message = (new ChatMessage('You got a new invoice for 15 EUR.'))
You can’t perform that action at this time.
0 commit comments