Logical expression has same operands
Reports the expressions that use the same operands, but should rather use different operands (for example, $var == $var
). These include comparison, logical, null-coalescing, subtraction, and division expressions.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023