Skip to content

Commit 490606d

Browse files
committed
Remove duplicate call to findVariableScopeExceptArrowFunctions
1 parent fe41708 commit 490606d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VariableAnalysis/Lib/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public static function findVariableScope(File $phpcsFile, $stackPtr, $varName =
447447
}
448448
}
449449

450-
return self::findVariableScopeExceptArrowFunctions($phpcsFile, $stackPtr);
450+
return $enclosingScopeIndex;
451451
}
452452

453453
/**

0 commit comments

Comments
 (0)