Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0648d7a

Browse files
author
Max Schaefer
committed
JavaScript: Sharpen result type of getAReceivedItem.
1 parent cc6ca8b commit 0648d7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/src/semmle/javascript/frameworks/SocketIO.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ module SocketIO {
167167
string getEventName() { eventName.mayHaveStringValue(result) }
168168

169169
/** Gets a data flow node representing data received from a client. */
170-
DataFlow::Node getAReceivedItem() { result = getCallback(1).getAParameter() }
170+
DataFlow::SourceNode getAReceivedItem() { result = getCallback(1).getAParameter() }
171171
}
172172

173173
/**

0 commit comments

Comments
 (0)