Having to write a "do nothing" case isn't a good practice. I'd check for the opposite condition and use that block to run the code, i.e. negate the condition and remove the else
block:
if ( !($fromDate >= $rangeEnd || $toDate < $rangeStart) ) {
// We are in Range...do something
}