Skip to content

Commit 039cfbc

Browse files
committed
Updated README
1 parent e3fcc10 commit 039cfbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
* Require parameter and return typehints for functions and methods (either native or phpDocs)
2323
* Correct case for referenced and called function names.
2424
* Correct case for inherited and implemented method names.
25-
* Contravariance for parameter types and covariance for return types in inherited methods
25+
* Contravariance for parameter types and covariance for return types in inherited methods (also known as Liskov substitution principle - LSP)
26+
* Check LSP even for static methods
2627

2728
Additional rules are coming in subsequent releases!
2829

0 commit comments

Comments
 (0)