Skip to content

Commit 0a40344

Browse files
committed
minor #9704 Fix wrong namespace (tienvx)
This PR was merged into the master branch. Discussion ---------- Fix wrong namespace From namespace of SenderInterface and ReceiverInterface, : from 'Message' to 'Messenger\Transport' <!-- 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 ------- 36ce990 Fix wrong namespace
2 parents 953dbd4 + 36ce990 commit 0a40344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/messenger.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ First, create your sender::
105105
namespace App\MessageSender;
106106

107107
use App\Message\ImportantAction;
108-
use Symfony\Component\Message\SenderInterface;
108+
use Symfony\Component\Messenger\Transport\SenderInterface;
109109

110110
class ImportantActionToEmailSender implements SenderInterface
111111
{
@@ -154,7 +154,7 @@ First, create your receiver::
154154
namespace App\MessageReceiver;
155155

156156
use App\Message\NewOrder;
157-
use Symfony\Component\Message\ReceiverInterface;
157+
use Symfony\Component\Messenger\Transport\ReceiverInterface;
158158
use Symfony\Component\Serializer\SerializerInterface;
159159

160160
class NewOrdersFromCsvFile implements ReceiverInterface

0 commit comments

Comments
 (0)