mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
JS: fix most ql/missing-parameter-qldoc issues
This commit is contained in:
@@ -84,10 +84,10 @@ predicate hasObjectProvidingTemplateVariables(CandidateStringLiteral lit) {
|
||||
* Gets a declaration of variable `v` in `tl`, where `v` has the given `name` and
|
||||
* belongs to `scope`.
|
||||
*/
|
||||
VarDecl getDeclIn(Variable v, Scope s, string name, CandidateTopLevel tl) {
|
||||
VarDecl getDeclIn(Variable v, Scope scope, string name, CandidateTopLevel tl) {
|
||||
v.getName() = name and
|
||||
v.getADeclaration() = result and
|
||||
v.getScope() = s and
|
||||
v.getScope() = scope and
|
||||
result.getTopLevel() = tl
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user