Kyle Schwarber recorded four hits and two RBIs, and Alec Bohm delivered the walk-off in the 10th inning as the Philadelphia Phillies defeated the San Francisco Giants 6-5 in the second game of the doubleheader.