Rubocop prefers reduce to inject