8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90056b8 commit 7cb8ba5Copy full SHA for 7cb8ba5
src/Symfony/Component/Config/Definition/ArrayNode.php
@@ -213,9 +213,11 @@ protected function finalizeValue($value)
213
foreach ($this->children as $name => $child) {
214
if (!\array_key_exists($name, $value)) {
215
if ($child->isRequired()) {
216
- $message = sprintf('The child config "%s" under "%s" must be configured.', $name, $this->getPath());
+ $message = sprintf('The child config "%s" under "%s" must be configured', $name, $this->getPath());
217
if ($child->getInfo()) {
218
- $message .= sprintf("\n\n Description: %s", $child->getInfo());
+ $message .= sprintf(": %s", $child->getInfo());
219
+ } else {
220
+ $message .= '.';
221
}
222
$ex = new InvalidConfigurationException($message);
223
$ex->setPath($this->getPath());
0 commit comments