Inspectopedia
 
2024.3

Implicit null argument

Info
Reliability
New
Last modified: 03 December 2024

Reports calls with no arguments to method that has exactly one parameter. This is equivalent to call with null, and that behavior is often confusing and unintended.

Example: