Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit436e506

Browse files
Update fabbot
1 parent848326f commit436e506

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[] $stampsStamps to be set on the Envelope which are used to control middlewares behaviors
3535
*/
3636
privatefunctionhandle(object$message,array$stamps = []):mixed
3737
{
@@ -52,7 +52,7 @@ private function handle(object $message, array $stamps = []): mixed
5252
returnsprintf('"%s"',$stamp->getHandlerName());
5353
},$handledStamps));
5454

55-
thrownewLogicException(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+
thrownewLogicException(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[] $stampsStamps set on the Envelope which are used to control middlewares behaviors
2626
*/
2727
publicfunctiondispatch(object$message,array$stamps = []):Envelope;
2828
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp