From: Tim Düsterhus Date: Tue, 4 May 2021 12:12:47 +0000 (+0200) Subject: Improve variable name in sanitizeStacktrace() X-Git-Tag: 5.4.0_Alpha_1~4^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b12c586e295f0c2c5af06f7ebeca5a3c25f2560;p=GitHub%2FWoltLab%2FWCF.git Improve variable name in sanitizeStacktrace() --- diff --git a/wcfsetup/install/files/lib/core.functions.php b/wcfsetup/install/files/lib/core.functions.php index d325c4acd4..2320209123 100644 --- a/wcfsetup/install/files/lib/core.functions.php +++ b/wcfsetup/install/files/lib/core.functions.php @@ -717,13 +717,13 @@ EXPLANATION; if (!isset($item['args'])) $item['args'] = []; if ($item['class']) { - $f = new \ReflectionMethod($item['class'], $item['function']); + $function = new \ReflectionMethod($item['class'], $item['function']); } else { - $f = new \ReflectionFunction($item['function']); + $function = new \ReflectionFunction($item['function']); } - $parameters = $f->getParameters(); + $parameters = $function->getParameters(); $i = 0; foreach ($parameters as $parameter) { $isSensitive = false;