minor #28759 [Messenger] Fix CS (polc)

This PR was submitted for the master branch but it was merged into the 4.1 branch instead (closes #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
-------

da9030f68a Rename consumer to receiver
This commit is contained in:
Fabien Potencier 2018-10-08 07:06:49 +02:00
commit 76a0682dca
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@ class WrapIntoReceivedMessage implements ReceiverInterface
{
private $decoratedReceiver;
public function __construct(ReceiverInterface $decoratedConsumer)
public function __construct(ReceiverInterface $decoratedReceiver)
{
$this->decoratedReceiver = $decoratedConsumer;
$this->decoratedReceiver = $decoratedReceiver;
}
public function receive(callable $handler): void