Fix spacing after return (KT-4947)

 #KT-4947 Fixed
Don't remove linebreak after smb. else's statement }
Minor: remove warning
Persistent formatting settings
Add space between 'when' and '('
-- Add to comments with new line
-- temp