Skip to content

Commit 702d50f

Browse files
committed
Fixed exception message formatting
1 parent f30fbe2 commit 702d50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)