Skip to content

Commit 2e201f1

Browse files
committed
minor symfony#13456 Typo and namespace import reference fixed (zspine)
This PR was merged into the 5.0 branch. Discussion ---------- Typo and namespace import reference fixed <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a6da873 Typo and namespace import reference fixed
2 parents accb09e + a6da873 commit 2e201f1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: 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)