An individual arrested for the violation of a borough ordinance may, pending trial, be committed to:
8 Pa.C.S. § 3322