Fixed exception message formatting
This commit is contained in:
parent
1202404671
commit
69187ac9ce
@ -1325,7 +1325,7 @@ class Configuration implements ConfigurationInterface
|
||||
return $middleware;
|
||||
}
|
||||
if (1 < \count($middleware)) {
|
||||
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)));
|
||||
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.');
|
||||
}
|
||||
|
||||
return [
|
||||
|
Reference in New Issue
Block a user