Skip to content

Commit 776e0f5

Browse files
committed
Add missing typehint on chain sender
1 parent 8fa0fd5 commit 776e0f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Transport/ChainSender.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
namespace Symfony\Component\Messenger\Transport;
1313

14+
use Symfony\Component\Messenger\Envelope;
15+
1416
/**
1517
* @author Tobias Schultze <http://tobion.de>
1618
*/
@@ -29,7 +31,7 @@ public function __construct(iterable $senders)
2931
/**
3032
* {@inheritdoc}
3133
*/
32-
public function send($message): void
34+
public function send(Envelope $message): void
3335
{
3436
foreach ($this->senders as $sender) {
3537
$sender->send($message);

0 commit comments

Comments
 (0)