Inspectopedia
 
2024.3

Class cannot be used as attribute

Info
New
Last modified: 03 December 2024

Reports the attributes that are resolved to a class not annotated with #[Attribute].

See Attributes (php.net) for details.