Skip to content

Commit 46c973a

Browse files
committed
Merge branch '5.0'
* 5.0: Namespace import reference missing Typo and namespace import reference fixed
2 parents c8f3fcf + 2e201f1 commit 46c973a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

notifier/chatters.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ How to send Chat Messages
1010
:doc:`experimental feature </contributing/code/experimental>`.
1111

1212
The :class:`Symfony\\Component\\Notifier\\ChatterInterface` class allows
13-
you to sent messages to chat services like Slack or Telegram::
13+
you to send messages to chat services like Slack or Telegram::
1414

1515
// src/Controller/CheckoutController.php
1616
namespace App\Controller;
1717

18-
use Symfony\Component\Notifier\Notification\Notification;
19-
use Symfony\Component\Notifier\NotifierInterface;
20-
use Symfony\Component\Notifier\Recipient\AdminRecipient;
18+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
19+
use Symfony\Component\Notifier\ChatterInterface;
20+
use Symfony\Component\Notifier\Message\ChatMessage;
21+
use Symfony\Component\Routing\Annotation\Route;
2122

2223
class CheckoutController extends AbstractController
2324
{

notifier/texters.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ you to send SMS messages::
1414

1515
// src/Controller/SecurityController.php
1616
namespace App\Controller;
17+
18+
use Symfony\Component\Notifier\Message\SmsMessage;
19+
use Symfony\Component\Notifier\TexterInterface;
20+
use Symfony\Component\Routing\Annotation\Route;
1721

1822
class SecurityController
1923
{

0 commit comments

Comments
 (0)