Fix rubocop failures

Move curly braces to parenthesis.