Apply suggestions from code review

Co-authored-by: Nick Rolfe <nickrolfe@github.com>
This commit is contained in:
Erik Krogh Kristensen
2021-11-19 13:23:01 +01:00
committed by GitHub
parent af55f172ae
commit 75586b0cf6
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ private import codeql.ruby.Concepts
private import codeql.ruby.DataFlow
private import codeql.ruby.dataflow.FlowSummary
/** A call to `ActiveStorage::Filename#sanitized` as path sanitizers. */
/** A call to `ActiveStorage::Filename#sanitized`, considered as a path sanitizer. */
class ActiveStorageFilenameSanitizedCall extends Path::PathSanitization::Range, DataFlow::CallNode {
ActiveStorageFilenameSanitizedCall() {
this.getReceiver() =

View File

@@ -99,7 +99,7 @@ class ObjectInstanceMethodCall extends UnknownMethodCall {
}
/**
* A Method call which has no known target.
* A `Method` call that has no known target.
* These will typically be calls to methods inherited from a superclass.
*/
class UnknownMethodCall extends MethodCall {

View File

@@ -23,7 +23,7 @@ import codeql.ruby.dataflow.RemoteFlowSources
import DataFlow::PathGraph
/**
* A method call that have a suggested replacement.
* A method call that has a suggested replacement.
*/
abstract class Replacement extends DataFlow::CallNode {
abstract string getFrom();