[Messenger] Fix typos
This commit is contained in:
parent
fb249f0b69
commit
7e763f96c1
@ -1583,7 +1583,7 @@ class FrameworkExtension extends Extension
|
||||
}, $messageConfiguration['senders']);
|
||||
|
||||
$sendersId = 'messenger.senders.'.$message;
|
||||
$sendersDefinition = $container->register($sendersId, RewindableGenerator::class)
|
||||
$container->register($sendersId, RewindableGenerator::class)
|
||||
->setFactory('current')
|
||||
->addArgument(array(new IteratorArgument($senders)));
|
||||
$messageToSendersMapping[$message] = new Reference($sendersId);
|
||||
|
@ -14,7 +14,7 @@ namespace Symfony\Component\Messenger\Stamp;
|
||||
use Symfony\Component\Messenger\Middleware\SendMessageMiddleware;
|
||||
|
||||
/**
|
||||
* Marker config for a received message.
|
||||
* Marker stamp for a received message.
|
||||
*
|
||||
* This is mainly used by the `SendMessageMiddleware` middleware to identify
|
||||
* a message should not be sent if it was just received.
|
||||
|
@ -39,7 +39,7 @@ class EnvelopeTest extends TestCase
|
||||
$this->assertNotSame($envelope, $envelope->with(new ReceivedStamp()));
|
||||
}
|
||||
|
||||
public function testGetLast()
|
||||
public function testLast()
|
||||
{
|
||||
$receivedStamp = new ReceivedStamp();
|
||||
$envelope = new Envelope($dummy = new DummyMessage('dummy'), $receivedStamp);
|
||||
|
Reference in New Issue
Block a user