Execution: Calling resolve function directly (vs calling it via call_user_func)

This commit is contained in:
vladar 2016-12-15 15:34:27 +07:00
parent 0483560ee5
commit 9e8e77a071

View File

@ -677,7 +677,7 @@ class Executor
$this->exeContext->variableValues
);
return call_user_func($resolveFn, $source, $args, $context, $info);
return $resolveFn($source, $args, $context, $info);
} catch (\Exception $error) {
return $error;
}