Inspectopedia
 
2024.3

Parameter type

Warning
New
Last modified: 03 December 2024

Reports the parameters passed to a function call, whose types do not match the ones specified in the function definition via type declaration or the PHPDoc @param tag.

See Type declarations (php.net) and @param (phpdoc.org) for details.