'#[ArrayShape]' attribute can be added

Last modified: Last modified: 18 September 2025

Reports the methods and functions that are returning arrays with known non-trivial keys. Suggests specifying the shape of the returned array via the #[ArrayShape] attribute or an array shape in the PHPDoc comment.