Inspectopedia Help

Parameter's name changed during inheritance

Reports the methods' parameters whose names differ from the same parameters defined in parent methods. Starting with PHP 8.0, such code can cause runtime errors.

Inspection options

Option

Type

Default

PHP 8.0 Severity

Dropdown

Warning

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023