/** * @throws EquipmentIDMissingException */ public static function detail() { if ($_GET['id']) { $equipment = new Equipment($_GET['id']); self::type_detail($equipment->get_type_id(), $equipment->get_owner_id()); } else { throw new EquipmentIDMissingException(); } }