It's kinda fine if it's a short function like that[1]. When you get above 10-15 lines in a function though, it's easy to lose track of what's a return variable and what isn't.
[1] and everything in the codebase uses that style otherwise it's annoying to have to context-switch every 5 minutes.
[1] and everything in the codebase uses that style otherwise it's annoying to have to context-switch every 5 minutes.