Skip to content

Commit 29e73e1

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

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

333-
/**
334-
* The `ActiveRecordInstance` receiver of this call.
335-
*/
333+
/** The `ActiveRecordInstance` receiver of this call. */
336334
class ActiveRecordInstanceMethodCall extends DataFlow::CallNode {
337335
private ActiveRecordInstance instance;
338336

339337
ActiveRecordInstanceMethodCall() { this.getReceiver() = instance }
340-
// Gets the `ActiveRecordInstance` that this is the receiver of this call. */
338+
/** Gets the `ActiveRecordInstance` that this is the receiver of this call. */
341339
ActiveRecordInstance getInstance() { result = instance }
342340
}
343341

0 commit comments

Comments
 (0)