SyntaxFix
Write A Post
Hire A Developer
Questions
Neither is more correct, so take your pick. The empty return; statement is provided to allow a return in a void function from somewhere other than the end. No other reason I believe.
return;
void