The local galaxy density and the arm class of spiral galaxies