Skip to content

Commit 85c922f

Browse files
committed
Fixed github-advanced-security bot warning
1 parent 986e1cb commit 85c922f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/ql/src/queries/style/ValidatePredicateGetReturns.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ predicate isGetPredicate(Predicate pred) { pred.getName().regexpMatch("get[A-Z].
2222
* Checks if a predicate has a return type.
2323
*/
2424
predicate hasReturnType(Predicate pred) {
25-
exists(Type returnType | pred.getReturnType() = returnType)
25+
exists(pred.getReturnType())
2626
}
2727

2828
/**

0 commit comments

Comments
 (0)