Skip to content

Commit bdde2b8

Browse files
committed
minor #16529 [Mailer] Update route from annotation to attribute (mdoutreluingne)
This PR was merged into the 5.4 branch. Discussion ---------- [Mailer] Update route from annotation to attribute For this PR i update route from annotation to attribute Commits ------- e66b990 Update route from annotation to attribute
2 parents b5857d7 + e66b990 commit bdde2b8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mailer.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
345345

346346
class MailerController extends AbstractController
347347
{
348-
/**
349-
* @Route("/email")
350-
*/
348+
#[Route('/email')]
351349
public function sendEmail(MailerInterface $mailer): Response
352350
{
353351
$email = (new Email())

0 commit comments

Comments
 (0)