Result of 'instanceof' is always 'true'
Reports the instanceof
expressions whose argument is within the hierarchy of the checked variable. Such expressions will always evaluate to true
.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023