Open kick-the-bucket opened 4 years ago
switch ($a) { case 'a': switch ($b) { case 'b': return 'c'; } break; }
The sniff is triggered on the return, but I think it shouldn't be, since a switch without a default: is not guaranteed to return something.
default:
The sniff is triggered on the return, but I think it shouldn't be, since a switch without a
default:
is not guaranteed to return something.