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 88a17e5 commit 7383e2cCopy full SHA for 7383e2c
OptionsResolver.php
@@ -252,7 +252,7 @@ public function setRequired($optionNames)
252
throw new AccessException('Options cannot be made required from a lazy option or normalizer.');
253
}
254
255
- foreach ((array) $optionNames as $key => $option) {
+ foreach ((array) $optionNames as $option) {
256
$this->defined[$option] = true;
257
$this->required[$option] = true;
258
@@ -333,7 +333,7 @@ public function setDefined($optionNames)
333
throw new AccessException('Options cannot be defined from a lazy option or normalizer.');
334
335
336
337
338
339
0 commit comments