File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ class ExternalAPI extends Callable {
48
48
private DataFlow:: Node getAnInput ( ) {
49
49
exists ( Call call | call .getCallee ( ) .getSourceDeclaration ( ) = this |
50
50
result .asExpr ( ) .( Argument ) .getCall ( ) = call or
51
- result .( ArgumentNode ) .getCall ( ) = call
51
+ result .( ArgumentNode ) .getCall ( ) . asCall ( ) = call
52
52
)
53
53
}
54
54
55
55
/** Gets a node that is an output from a call to this API. */
56
56
private DataFlow:: Node getAnOutput ( ) {
57
57
exists ( Call call | call .getCallee ( ) .getSourceDeclaration ( ) = this |
58
58
result .asExpr ( ) = call or
59
- result .( DataFlow:: PostUpdateNode ) .getPreUpdateNode ( ) .( ArgumentNode ) .getCall ( ) = call
59
+ result .( DataFlow:: PostUpdateNode ) .getPreUpdateNode ( ) .( ArgumentNode ) .getCall ( ) . asCall ( ) = call
60
60
)
61
61
}
62
62
You can’t perform that action at this time.
0 commit comments