8000 Add missing typehint on chain sender · symfony/symfony@22b2257 · GitHub
[go: up one dir, main page]

Skip to content

Commit 22b2257

Browse files
committed
Add missing typehint on chain sender
1 parent b754fd5 commit 22b2257

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/Messenger/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)
0