It shall be the duty of the public works director to make inspections of all pavement and sidewalk cuts and the openings made in streets, alleys, sidewalks, or other public grounds, and the closing and restoration of the surface thereof and to enforce the provisions of this article.