PhpStorm 2019.2 Help

Code Inspection: Field is assigned only in the constructor and can be made readonly

If a private field is assigned only in the constructor, it can be made readonly.

Last modified: 23 September 2019