Skip to content

Commit ac6d4aa

Browse files
asgerfmax-schaefer
andauthored
Apply suggestions from code review
Co-authored-by: Max Schaefer <[email protected]>
1 parent d3412bb commit ac6d4aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/ApiGraphs.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module API {
122122
* source level.
123123
*
124124
* This predicate may have multiple results when there are multiple constructor calls invoking this API component.
125-
* Consider using `getAnInstantiation()` if there is a need to distingiush between individual constructor calls.
125+
* Consider using `getAnInstantiation()` if there is a need to distinguish between individual constructor calls.
126126
*/
127127
Node getInstance() { result = getASuccessor(Label::instance()) }
128128

@@ -833,7 +833,7 @@ module API {
833833
result.getARhs() = getArgument(i)
834834
}
835835

836-
/** Gets the API node a parameter of this invocation. */
836+
/** Gets the API node for a parameter of this invocation. */
837837
Node getAParameter() { result = getParameter(_) }
838838

839839
/** Gets the API node for the last parameter of this invocation. */

0 commit comments

Comments
 (0)