8000
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 f288a69 commit 1de4920Copy full SHA for 1de4920
src/Symfony/Component/OptionsResolver/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