Skip to content

Commit 47581af

Browse files
Egor Gorbachevondrejmirtes
Egor Gorbachev
authored andcommitted
Fix typo (statically -> dynamically)
1 parent 80777e5 commit 47581af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Variables assigned in `while` loop condition and `for` loop initial assignment cannot be used after the loop.
1818
* Variables set in foreach that's always looped thanks to non-empty arrays cannot be used after the loop.
1919
* Types in `switch` condition and `case` value must match. PHP compares them loosely by default and that can lead to unexpected results.
20-
* Statically declared methods are called statically.
20+
* Check that statically declared methods are called statically.
2121
* Disallow `empty()` - it's a very loose comparison (see [manual](https://php.net/empty)), it's recommended to use more strict one.
2222
* Disallow variable variables (`$$foo`, `$this->$method()` etc.)
2323
* Disallow overwriting variables with foreach key and value variables

0 commit comments

Comments
 (0)