Skip to content

Commit 463c096

Browse files
authored
Update ActiveRecord.qll
1 parent 2047954 commit 463c096

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,14 @@ class ActiveRecordInstance extends DataFlow::Node {
330330
ActiveRecordModelClass getClass() { result = instantiation.getClass() }
331331
}
332332

333-
// A call whose receiver may be an active record model object
334-
/** The `ActiveRecordInstance` receiver of this call. */
333+
/**
334+
* The `ActiveRecordInstance` receiver of this call.
335+
*/
335336
class ActiveRecordInstanceMethodCall extends DataFlow::CallNode {
336337
private ActiveRecordInstance instance;
337338

338339
ActiveRecordInstanceMethodCall() { this.getReceiver() = instance }
339-
/** Gets the `ActiveRecordInstance` that this is the receiver of this call. */
340+
// Gets the `ActiveRecordInstance` that this is the receiver of this call. */
340341
ActiveRecordInstance getInstance() { result = instance }
341342
}
342343

0 commit comments

Comments
 (0)