Update ActiveRecord.qll

This commit is contained in:
Brandon Stewart
2022-06-24 15:28:09 -04:00
committed by GitHub
parent caeef68bde
commit ff9a7244c2

View File

@@ -336,7 +336,7 @@ class ActiveRecordInstanceMethodCall extends DataFlow::CallNode {
private ActiveRecordInstance instance;
ActiveRecordInstanceMethodCall() { this.getReceiver() = instance }
/** Gets the `ActiveRecordInstance` that this is the receiver of this call. */
ActiveRecordInstance getInstance() { result = instance }
}