Two men have been arrested after a "violent incident" outside McDonald's in Blake Street, York, police said.