Philosophy is sometimes suggested over other humanities for prelaw students because it has a greater emphasis on logical thinking that is useful in interpreting laws.
The logic puzzle section on the LSAT tests logical thinking, and it is no surprise that philosophy majors (along with math majors) tend to do well on the LSAT.