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

Code Inspection: Undefined property assignment

Last modified: 13 May 2022

Configure inspections: Settings / Preferences | Editor | Inspections

Show intention actions: Alt+Enter

Reports an assignment to a property that is not defined in the type of a variable.

Example: