diff --git a/ql/src/semmle/go/frameworks/EvanphxJsonPatch.qll b/ql/src/semmle/go/frameworks/EvanphxJsonPatch.qll index b97561fd80e..7904fea7a03 100644 --- a/ql/src/semmle/go/frameworks/EvanphxJsonPatch.qll +++ b/ql/src/semmle/go/frameworks/EvanphxJsonPatch.qll @@ -45,12 +45,12 @@ private module EvanphxJsonPatch { } } - private class Apply extends TaintTracking::FunctionModel { + private class Apply extends TaintTracking::FunctionModel, Method { Apply() { exists(string fn | fn in ["Apply", "ApplyWithOptions", "ApplyIndent", "ApplyIndentWithOptions"] | - this.hasQualifiedName(packagePath(), fn) + this.hasQualifiedName(packagePath(), "Patch", fn) ) }