After hearing the evidence, the court shall make a finding, noted in the minutes of the court, whether or not the minor is a person described by Section 300 and the specific subdivisions of Section 300 under which the petition is sustained. If it finds that the minor is not such a person, it shall order that the petition be dismissed and the minor be discharged from any detention or restriction theretofore ordered. If the court finds that the minor is such a person, it shall make and enter its findings and order accordingly.
Ca. Welf. and Inst. Code § 356