Skip to content

Commit 436e506

Browse files
Update fabbot
1 parent 848326f commit 436e506

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Component/Messenger/HandleTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ trait HandleTrait
3030
* This behavior is useful for both synchronous command & query buses,
3131
* the last one usually returning the handler result.
3232
*
33-
* @param object|Envelope $message The message or the message pre-wrapped in an envelope
34-
* @param StampInterface[] $stamps Stamps to be set on the Envelope which are used to control middlewares behaviors
33+
* @param object|Envelope $message The message or the message pre-wrapped in an envelope
34+
* @param StampInterface[] $stamps Stamps to be set on the Envelope which are used to control middlewares behaviors
3535
*/
3636
private function handle(object $message, array $stamps = []): mixed
3737
{
@@ -52,7 +52,7 @@ private function handle(object $message, array $stamps = []): mixed
5252
return sprintf('"%s"', $stamp->getHandlerName());
5353
}, $handledStamps));
5454

55-
throw new LogicException(sprintf('Message of type "%s" was handled multiple times. Only one handler is expected when using "%s::%s()", got %d: %s.', get_debug_type($envelope->getMessage()), static::class, __FUNCTION__, \count($handledStamps), $handlers));
55+
throw new LogicException(sprintf('Message of type "%s" was handled multiple times. Only one handler is expected when using "%s::%s()", got %d: "%s".', get_debug_type($envelope->getMessage()), static::class, __FUNCTION__, \count($handledStamps), $handlers));
5656
}
5757

5858
return $handledStamps[0]->getResult();

src/Symfony/Component/Messenger/MessageBusInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface MessageBusInterface
2222
* Dispatches the given message.
2323
*
2424
* @param object|Envelope $message The message or the message pre-wrapped in an envelope
25-
* @param StampInterface[] $stamps Stamps set on the Envelope which are used to control middlewares behaviors
25+
* @param StampInterface[] $stamps Stamps set on the Envelope which are used to control middlewares behaviors
2626
*/
2727
public function dispatch(object $message, array $stamps = []): Envelope;
2828
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy