Inspectopedia
 
2024.3

Comment can be replaced with named argument

Info
New
Last modified: 03 December 2024

Reports the inline comments before arguments in function calls that only contain the name of the parameter and thus serve as hints. In PHP 8.0 and later, named arguments can be used instead.

See Named arguments (php.net) for details.