mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
JS: fix more instances of ql/missing-parameter-qldoc
This commit is contained in:
@@ -309,12 +309,13 @@ private module JQueryClientRequest {
|
||||
/**
|
||||
* Gets a node refering to the response contained in an `jqXHR` object.
|
||||
*/
|
||||
private DataFlow::SourceNode getAResponseNodeFromAnXHRObject(DataFlow::SourceNode obj) {
|
||||
private DataFlow::SourceNode getAResponseNodeFromAnXHRObject(DataFlow::SourceNode jqXHR) {
|
||||
result =
|
||||
obj.getAPropertyRead(any(string s |
|
||||
s = "responseText" or
|
||||
s = "responseXML"
|
||||
))
|
||||
jqXHR
|
||||
.getAPropertyRead(any(string s |
|
||||
s = "responseText" or
|
||||
s = "responseXML"
|
||||
))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user