I don't think it matters in the grand scheme of things. You could make a case for each especially transiently/acutely, but long term each side's rationale is overstated, in my opinion.
One thing is for sure, you don't need to "stop eating after 7pm" to get jacked, unless this somehow allows you to manipulate your calories/macros appropriately.