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::
169169 use Symfony\Component\HttpFoundation\Response;
170170 use Symfony\Component\Notifier\Message\SmsMessage;
171171 use Symfony\Component\Notifier\TexterInterface;
172- use Symfony\Component\Routing\Annotation \Route;
172+ use Symfony\Component\Routing\Attribute \Route;
173173
174174 class SecurityController
175175 {
@@ -318,13 +318,11 @@ you to send messages to chat services::
318318 use Symfony\Component\HttpFoundation\Response;
319319 use Symfony\Component\Notifier\ChatterInterface;
320320 use Symfony\Component\Notifier\Message\ChatMessage;
321- use Symfony\Component\Routing\Annotation \Route;
321+ use Symfony\Component\Routing\Attribute \Route;
322322
323323 class CheckoutController extends AbstractController
324324 {
325- /**
326- * @Route("/checkout/thankyou")
327- */
325+ #[Route('/checkout/thankyou')]
328326 public function thankyou(ChatterInterface $chatter): Response
329327 {
330328 $message = (new ChatMessage('You got a new invoice for 15 EUR.'))
You can’t perform that action at this time.
0 commit comments