A warthog attacked two people at a wildlife park, causing non-life-threatening injuries, and investigators are looking into the incident.