Skip to content

Commit 76a0682

Browse files
committed
minor symfony#28759 [Messenger] Fix CS (polc)
This PR was submitted for the master branch but it was merged into the 4.1 branch instead (closes symfony#28759). Discussion ---------- [Messenger] Fix CS | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT Commits ------- da9030f Rename consumer to receiver
2 parents 06ed087 + da9030f commit 76a0682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Messenger/Asynchronous/Transport/WrapIntoReceivedMessage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class WrapIntoReceivedMessage implements ReceiverInterface
2121
{
2222
private $decoratedReceiver;
2323

24-
public function __construct(ReceiverInterface $decoratedConsumer)
24+
public function __construct(ReceiverInterface $decoratedReceiver)
2525
{
26-
$this->decoratedReceiver = $decoratedConsumer;
26+
$this->decoratedReceiver = $decoratedReceiver;
2727
}
2828

2929
public function receive(callable $handler): void

0 commit comments

Comments
 (0)