File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/Symfony/Component/Config/Definition Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,11 @@ protected function finalizeValue($value)
213213 foreach ($ this ->children as $ name => $ child ) {
214214 if (!\array_key_exists ($ name , $ value )) {
215215 if ($ child ->isRequired ()) {
216- $ message = sprintf ('The child config "%s" under "%s" must be configured. ' , $ name , $ this ->getPath ());
216+ $ message = sprintf ('The child config "%s" under "%s" must be configured ' , $ name , $ this ->getPath ());
217217 if ($ child ->getInfo ()) {
218- $ message .= sprintf ("\n\n Description: %s " , $ child ->getInfo ());
218+ $ message .= sprintf (": %s " , $ child ->getInfo ());
219+ } else {
220+ $ message .= '. ' ;
219221 }
220222 $ ex = new InvalidConfigurationException ($ message );
221223 $ ex ->setPath ($ this ->getPath ());
You can’t perform that action at this time.
0 commit comments