Skip to content

Commit 7c032f6

Browse files
committed
fix docs, fix deprecations
1 parent f35e866 commit 7c032f6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ruby/ql/lib/codeql/ruby/ast/Constant.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class ConstantWriteAccess extends ConstantAccess {
168168
override string getAPrimaryQlClass() { result = "ConstantWriteAccess" }
169169

170170
/**
171-
* Gets the fully qualified name for this constant, based on the context in
171+
* Gets a fully qualified name for this constant, based on the context in
172172
* which it is defined.
173173
*
174174
* For example, given

ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private class ActiveRecordModelFinderCall extends ActiveRecordModelInstantiation
278278
ActiveRecordModelFinderCall() {
279279
call = this.asExpr().getExpr() and
280280
recv = getUltimateReceiver(call) and
281-
resolveConstant(recv) = cls.getQualifiedName() and
281+
resolveConstant(recv) = cls.getAQualifiedName() and
282282
call.getMethodName() = finderMethodName()
283283
}
284284

ruby/ql/src/queries/analysis/Definitions.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ConstantWriteAccess definitionOf(string fqn) {
7878
fqn = resolveConstant(_) and
7979
result =
8080
min(ConstantWriteAccess w, Location l |
81-
w.getQualifiedName() = fqn and l = w.getLocation()
81+
w.getAQualifiedName() = fqn and l = w.getLocation()
8282
|
8383
w
8484
order by

0 commit comments

Comments
 (0)