Skip to content

Commit 0819090

Browse files
committed
Fix qldocs typo
1 parent 51395d1 commit 0819090

File tree

1 file changed

+4
-4
lines changed
  • python/ql/src/experimental/semmle/python/frameworks

1 file changed

+4
-4
lines changed

python/ql/src/experimental/semmle/python/frameworks/NoSQL.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ private module NoSQL {
3131
}
3232

3333
/**
34-
* Gets a reference to a initialized `Mongo` instance.
34+
* Gets a reference to an initialized `Mongo` instance.
3535
* See `pyMongo()`, `flask_PyMongo()`
3636
*/
3737
private API::Node mongoInstance() {
@@ -40,7 +40,7 @@ private module NoSQL {
4040
}
4141

4242
/**
43-
* Gets a reference to a initialized `Mongo` DB instance.
43+
* Gets a reference to an initialized `Mongo` DB instance.
4444
* See `mongoEngine()`, `flask_MongoEngine()`
4545
*/
4646
private API::Node mongoDBInstance() {
@@ -79,7 +79,7 @@ private module NoSQL {
7979
* mongo.db.user.find({'name': safe_search})
8080
* ```
8181
*
82-
* `mongo.db` would be a `use` of a `Mongo` instance, and so the result.
82+
* `mongo.db` would be a use of a `Mongo` instance, and so the result.
8383
*/
8484
private DataFlow::Node mongoDB() { mongoDB(DataFlow::TypeTracker::end()).flowsTo(result) }
8585

@@ -110,7 +110,7 @@ private module NoSQL {
110110
* mongo.db.user.find({'name': safe_search})
111111
* ```
112112
*
113-
* `mongo.db.user` would be a `use` of a `Mongo` collection, and so the result.
113+
* `mongo.db.user` would be a use of a `Mongo` collection, and so the result.
114114
*/
115115
private DataFlow::Node mongoCollection() {
116116
mongoCollection(DataFlow::TypeTracker::end()).flowsTo(result)

0 commit comments

Comments
 (0)