Skip to content

Commit a6da873

Browse files
authoredMar 30, 2020
Typo and namespace import reference fixed
1 parent b0b0a4b commit a6da873

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed
 

‎notifier/chatters.rst

+5-4
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
{

0 commit comments

Comments
 (0)
Please sign in to comment.