mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Apply suggestions from code review
Co-authored-by: Nick Rolfe <nickrolfe@github.com>
This commit is contained in:
committed by
GitHub
parent
af55f172ae
commit
75586b0cf6
@@ -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() =
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user