8000 minor #38208 [Messenger] Minor fix of exception message formatting (w… · symfony/symfony@cae08a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit cae08a0

Browse files
committed
minor #38208 [Messenger] Minor fix of exception message formatting (wouterj)
This PR was merged into the 4.4 branch. Discussion ---------- [Messenger] Minor fix of exception message formatting | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - See e.g. https://fabbot.io/report/symfony/symfony/37546/2f27613557295a34437d865f75a6a5308764bb34 Commits ------- 69187ac Fixed exception message formatting
2 parents 1202404 + 69187ac commit cae08a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ function ($a) {
13251325
return $middleware;
13261326
}
13271327
if (1 < \count($middleware)) {
1328-
throw new \InvalidArgumentException(sprintf('Invalid middleware at path "framework.messenger": a map with a single factory id as key and its arguments as value was expected, %s given.', json_encode($middleware)));
1328+
throw new \InvalidArgumentException('Invalid middleware at path "framework.messenger": a map with a single factory id as key and its arguments as value was expected, '.json_encode($middleware).' given.');
13291329
}
13301330

13311331
return [

0 commit comments

Comments
 (0)
0