We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a19baef commit 7fdc013Copy full SHA for 7fdc013
DependencyInjection/Configuration.php
@@ -115,10 +115,12 @@ public function getConfigTreeBuilder()
115
->defaultFalse()
116
->beforeNormalization()
117
->ifTrue()
118
- ->then(function () {
+ ->then(function ($value) {
119
if (!class_exists(OptionsResolver::class)) {
120
throw new InvalidConfigurationException("'body_converter.validate: true' requires OptionsResolver component installation ( composer require symfony/options-resolver )");
121
}
122
+
123
+ return $value;
124
})
125
->end()
126
0 commit comments