Skip to content

Commit f335898

Browse files
committed
Updated README
1 parent d6c785b commit f335898

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Statically declared methods are called statically.
2020
* Disallow `empty()` - it's a very loose comparison (see [manual](https://php.net/empty)), it's recommended to use more strict one.
2121
* Always true `instanceof`, type-checking `is_*` functions and strict comparisons `===`/`!==`. These checks can be turned off by setting `checkAlwaysTrueInstanceof`/`checkAlwaysTrueCheckTypeFunctionCall`/`checkAlwaysTrueStrictComparison` to false.
22+
* Require parameter and return typehints for functions and methods (either native or phpDocs)
2223
* Correct case for referenced and called function names.
2324
* Correct case for inherited and implemented method names.
2425

0 commit comments

Comments
 (0)