Skip to content

Commit eabf2ed

Browse files
aibaarshvitved
andauthored
Apply suggestions from code review
Co-authored-by: Tom Hvitved <[email protected]>
1 parent d6b0772 commit eabf2ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class InstanceVariableAccess extends VariableAccess instanceof InstanceVariableA
183183
final override string getAPrimaryQlClass() { result = "InstanceVariableAccess" }
184184

185185
/**
186-
* Gets the synthetic receiver(`self`) of this instance variable access.
186+
* Gets the synthetic receiver (`self`) of this instance variable access.
187187
*/
188188
final SelfVariableAccess getReceiver() { synthChild(this, 0, result) }
189189

ruby/ql/lib/codeql/ruby/controlflow/CfgNodes.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ module ExprNodes {
626626
override InstanceVariableAccess getExpr() { result = ExprCfgNode.super.getExpr() }
627627

628628
/**
629-
* Gets the synthetic receiver(`self`) of this instance variable access.
629+
* Gets the synthetic receiver (`self`) of this instance variable access.
630630
*/
631631
final CfgNode getReceiver() { e.hasCfgChild(e.getReceiver(), this, result) }
632632
}

0 commit comments

Comments
 (0)