Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cbe2895

Browse files
committed
minor #28717 [Messenger] Fix middleware docblocks (pamil)
This PR was merged into the 4.2-dev branch. Discussion ---------- [Messenger] Fix middleware docblocks | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- f06c0c4 [Messenger] Fix middleware docblocks
2 parents 6dffd45 + f06c0c4 commit cbe2895

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Symfony/Component/Messenger/Middleware/Enhancers/ActivationMiddlewareDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(MiddlewareInterface $inner, $activated)
3535
}
3636

3737
/**
38-
* @param Envelope $message
38+
* @param Envelope $envelope
3939
*/
4040
public function handle($envelope, callable $next)
4141
{

src/Symfony/Component/Messenger/Middleware/ValidationMiddleware.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\Messenger\Middleware;
1313

14+
use Symfony\Component\Messenger\Envelope;
1415
use Symfony\Component\Messenger\EnvelopeAwareInterface;
1516
use Symfony\Component\Messenger\Exception\ValidationFailedException;
1617
use Symfony\Component\Messenger\Middleware\Configuration\ValidationConfiguration;
@@ -28,6 +29,9 @@ public function __construct(ValidatorInterface $validator)
2829
$this->validator = $validator;
2930
}
3031

32+
/**
33+
* @param Envelope $envelope
34+
*/
3135
public function handle($envelope, callable $next)
3236
{
3337
$message = $envelope->getMessage();

0 commit comments

Comments
 (0)