A statute required that air vent shafts on hotel roofs have parapets at least 30 inches high. Edgar Hotel had parapets only 27 inches high. Nunneley, who was visiting a registered guest at Edgar Hotel, placed a mattress on top of a parapet. When she sat on the mattress, the parapet collapsed, and she fell into the air shaft and was injured. She sued the hotel, claiming that its breach of the statute regulating the height of the parapets constituted negligence. Decide. [Nunneley c Edgar Hotel, 225 P2d 497 (Cal)] Please specify what laws were involved in reaching this decision.