Skip to content

Commit 43aff2c

Browse files
Add changenote.+ fix typo
1 parent 9cac0f7 commit 43aff2c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

python/ql/src/Functions/SignatureOverriddenMethod.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<overview>
88
<p> When the signature of a method of a base class and a method of a subclass that overrides it don't match, a call to the base class method
99
may not be a valid call to the subclass method, and thus raise an exception if an instance of the subclass is passed instead.
10-
If following the Liskov Substitution Principle, in which an instance of a subclass should be usable in every context as though it were a an
10+
If following the Liskov Substitution Principle, in which an instance of a subclass should be usable in every context as though it were an
1111
instance of the base class, this behavior breaks the principle.
1212
</p>
1313

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The `py/inheritance/signature-mismatch` query has been modernized. It produces more precise results and more descriptive alert messages.
5+
* The `py/inheritance/incorrect-overriding-signature` query has been deprecated. Its results have been consolidated into the `py/inheritance/signature-mismatch` query.

0 commit comments

Comments
 (0)