Merge pull request #4801 from annando/ignore-callstack

Ignore function "call_user_func_array" in the callstack
This commit is contained in:
Tobias Diekershoff 2018-04-10 10:04:25 +02:00 committed by GitHub
commit 799bd75fb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ class System extends BaseObject
$previous = ['class' => '', 'function' => '']; $previous = ['class' => '', 'function' => ''];
// The ignore list contains all functions that are only wrapper functions // The ignore list contains all functions that are only wrapper functions
$ignore = ['fetchUrl']; $ignore = ['fetchUrl', 'call_user_func_array'];
while ($func = array_pop($trace)) { while ($func = array_pop($trace)) {
if (!empty($func['class'])) { if (!empty($func['class'])) {