Closed this issue 8 years ago · 1 comments
Check for something like this:
$x = ($a == 1) ? 2 : (($b == 2) ? 3 : 4);
and notice: Nested ternary operators can be confusing. Use if/elseif instead.
Nested ternary operators can be confusing. Use if/elseif instead.
Implemented by @ddmler in 8fc0ecf