Skip to content

Commit b8b42ea

Browse files
authored
Merge pull request github#5064 from RasmusWL/fix-missing-override
Python: Add missing override annotation
2 parents 3179546 + 4ef9a6c commit b8b42ea

File tree

1 file changed

+1
-1
lines changed
  • python/ql/src/semmle/python/security/injection

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/security/injection/Xml.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private class ExpatCreateParser extends TaintSource {
3232

3333
override predicate isSourceOf(TaintKind kind) { kind instanceof ExpatParser }
3434

35-
string toString() { result = "expat.create.parser" }
35+
override string toString() { result = "expat.create.parser" }
3636
}
3737

3838
private FunctionObject xmlFromString() {

0 commit comments

Comments
 (0)