Apply suggestions from code review

Co-authored-by: Taus <tausbn@github.com>
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
yoff
2020-11-03 12:04:43 +01:00
committed by GitHub
parent b71ea40dbd
commit d6a33a1253
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/**
* Provides an extension point for for modelling user-controlled data.
* Provides an extension point for for modeling user-controlled data.
* Such data is often used as data-flow sources in security queries.
*/

View File

@@ -356,7 +356,7 @@ class BarrierGuard extends GuardNode {
}
/**
* IPA type for tracking data content associated with values.
* Algebraic datatype for tracking data content associated with values.
* Content can be collection elements or object attributes.
*/
newtype TContent =
@@ -397,7 +397,7 @@ class SetElementContent extends TSetElementContent, Content {
override string toString() { result = "Set element" }
}
/** The content, at a specifik index, of an element of a tuple. */
/** The content, at a specific index, of an element of a tuple. */
class TupleElementContent extends TTupleElementContent, Content {
int index;

View File

@@ -32,7 +32,7 @@ module MySQLdb {
/** Gets a reference to the `MySQLdb` module. */
DataFlow::Node moduleMySQLdb() { result = moduleMySQLdb(DataFlow::TypeTracker::end()) }
/** MySQLdb implements PEP 249, providing ways to execute SQL statments against a database. */
/** MySQLdb implements PEP 249, providing ways to execute SQL statements against a database. */
class MySQLdb extends PEP249Module {
MySQLdb() { this = moduleMySQLdb() }
}