Skip to content

Commit 97f9360

Browse files
committed
cs
1 parent 8be60c7 commit 97f9360

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Messenger/Exception/DelayedMessageHandlingException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function (\Throwable $e) {
3030
$exceptions
3131
));
3232

33-
if (count($exceptions) === 1) {
33+
if (1 === \count($exceptions)) {
3434
$message = sprintf("A delayed message handler threw an exception: \n\n%s", $exceptionMessages);
3535
} else {
3636
$message = sprintf("Some delayed message handlers threw an exception: \n\n%s", $exceptionMessages);

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ class DispatchAfterCurrentBusMiddleware implements MiddlewareInterface
3636
private $queue = [];
3737

3838
/**
39-
* @var bool This property is used to signal if we are inside a the first/root call to
40-
* MessageBusInterface::dispatch() or if dispatch has been called inside a message handler.
39+
* @var bool this property is used to signal if we are inside a the first/root call to
40+
* MessageBusInterface::dispatch() or if dispatch has been called inside a message handler
4141
*/
4242
private $isRootDispatchCallRunning = false;
4343

0 commit comments

Comments
 (0)