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 @@ -183,7 +183,7 @@ send SMS messages::
183183 use Symfony\Component\HttpFoundation\Response;
184184 use Symfony\Component\Notifier\Message\SmsMessage;
185185 use Symfony\Component\Notifier\TexterInterface;
186- use Symfony\Component\Routing\Annotation \Route;
186+ use Symfony\Component\Routing\Attribute \Route;
187187
188188 class SecurityController
189189 {
@@ -338,13 +338,11 @@ you to send messages to chat services::
338338 use Symfony\Component\HttpFoundation\Response;
339339 use Symfony\Component\Notifier\ChatterInterface;
340340 use Symfony\Component\Notifier\Message\ChatMessage;
341- use Symfony\Component\Routing\Annotation \Route;
341+ use Symfony\Component\Routing\Attribute \Route;
342342
343343 class CheckoutController extends AbstractController
344344 {
345- /**
346- * @Route("/checkout/thankyou")
347- */
345+ #[Route('/checkout/thankyou')]
348346 public function thankyou(ChatterInterface $chatter): Response
349347 {
350348 $message = (new ChatMessage('You got a new invoice for 15 EUR.'))
You can’t perform that action at this time.
0 commit comments