All ditches or trenches opened for the purpose of laying pipes for connection with water or sewer mains, whether on private premises or across streets, sidewalks or ditches, shall be carefully and compactly closed and filled after the pipes are laid. All paving disturbed in connection therewith shall be skillfully and carefully repaired and restored.