diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-26 09:05:25 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-26 09:05:25 +0100 |
commit | 1c868b186e0243b656c4573571ab3ba6e26a3714 (patch) | |
tree | 6222e676096a54150324d0b88f35d082a90ea19e | |
parent | 9c28dc0ce9fabe1635cd2e70f73e5598b8e9b021 (diff) | |
download | php-git-1c868b186e0243b656c4573571ab3ba6e26a3714.tar.gz |
Fix parameter stats generation
[ci skip]
-rwxr-xr-x | build/gen_stub.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gen_stub.php b/build/gen_stub.php index e17e083cb4..f8fce7fa01 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -1351,7 +1351,7 @@ if ($printParameterStats) { foreach ($fileInfos as $fileInfo) { foreach ($fileInfo->getAllFuncInfos() as $funcInfo) { foreach ($funcInfo->args as $argInfo) { - if (!isset($context->parameterStats[$argInfo->name])) { + if (!isset($parameterStats[$argInfo->name])) { $parameterStats[$argInfo->name] = 0; } $parameterStats[$argInfo->name]++; |