The following code raises the suspicious ternary operator warning.
$b['foo'] <=> $a['bar'] ?: $a['baz'] <=> $b['bat'];
This is a common and elegant way to express both a primary and secondary sort order. However, the inspection thinks this will not work as expected; yet it does work.
Thank you for reporting @Bilge, confirmed.
Fixed!