Skip to content

Commit 1c868b1

Browse files
committed
Fix parameter stats generation
[ci skip]
1 parent 9c28dc0 commit 1c868b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gen_stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ function initPhpParser() {
13511351
foreach ($fileInfos as $fileInfo) {
13521352
foreach ($fileInfo->getAllFuncInfos() as $funcInfo) {
13531353
foreach ($funcInfo->args as $argInfo) {
1354-
if (!isset($context->parameterStats[$argInfo->name])) {
1354+
if (!isset($parameterStats[$argInfo->name])) {
13551355
$parameterStats[$argInfo->name] = 0;
13561356
}
13571357
$parameterStats[$argInfo->name]++;

0 commit comments

Comments
 (0)