Inspectopedia
 
2024.3

Implicitly marking parameter as nullable is deprecated

Warning
New
Last modified: 03 December 2024

Reports deprecated usage of an implicitly nullable parameter type.

Starting from PHP 8.4, usage of null as a default value for a parameter without declaring null in the type declaration is deprecated.

See Deprecate implicitly nullable parameter types for details.