PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Code Inspection: Write access to 'readonly' property outside of declaration scope

Last modified: 16 May 2022

Reports the write accesses to readonly properties that are made outside the declaration scope. A declaration scope effectively means non-static methods of the class in which a property is declared.

See Readonly properties (php.net) for details.