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 007d411 commit 33e538fCopy full SHA for 33e538f
OptionsResolver.php
@@ -833,7 +833,7 @@ public function offsetGet($option)
833
// BEGIN
834
$this->calling[$option] = true;
835
foreach ($this->lazy[$option] as $closure) {
836
- $value = call_user_func($closure, $this, $value);
+ $value = $closure($this, $value);
837
}
838
unset($this->calling[$option]);
839
// END
@@ -929,7 +929,7 @@ public function offsetGet($option)
929
// dependency
930
931
932
- $value = call_user_func($normalizer, $this, $value);
+ $value = $normalizer($this, $value);
933
934
935
0 commit comments