fix docs, fix deprecations

This commit is contained in:
Jeff Gran
2021-12-21 08:43:15 -07:00
parent f35e866799
commit 7c032f6cb4
3 changed files with 3 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ class ConstantWriteAccess extends ConstantAccess {
override string getAPrimaryQlClass() { result = "ConstantWriteAccess" }
/**
* Gets the fully qualified name for this constant, based on the context in
* Gets a fully qualified name for this constant, based on the context in
* which it is defined.
*
* For example, given

View File

@@ -278,7 +278,7 @@ private class ActiveRecordModelFinderCall extends ActiveRecordModelInstantiation
ActiveRecordModelFinderCall() {
call = this.asExpr().getExpr() and
recv = getUltimateReceiver(call) and
resolveConstant(recv) = cls.getQualifiedName() and
resolveConstant(recv) = cls.getAQualifiedName() and
call.getMethodName() = finderMethodName()
}

View File

@@ -78,7 +78,7 @@ ConstantWriteAccess definitionOf(string fqn) {
fqn = resolveConstant(_) and
result =
min(ConstantWriteAccess w, Location l |
w.getQualifiedName() = fqn and l = w.getLocation()
w.getAQualifiedName() = fqn and l = w.getLocation()
|
w
order by