On the surface, the Phillies’ 3-0 walk-off win over the Padres Wednesday night presented little excitement, except for the ninth inning.

Neither team scored a run for 8 ½innings, leaving a combined 13 runners on base. They collected 22 strikeouts and just 11 hits between them. Two of the worst offenses in baseball lived up to the billing. The Padres were shut out for the 11th time this year, tops in the major leagues.

Reid Brignac’s three-run, walk-off brought the small crowd to life. The Phillies put together consecutive wins for the first time since their three-game win streak May 17-20.

And then there was Cole Hamels, looking every bit worth his six-year, $144 million contract signed in 2012. Hamels pitched a shutout for eight innings Wednesday. In his last seven starts, Hamels has a 1.78 ERA, the lone consistent performer in a sub-par rotation.

“You don’t want to waste an effort like that,” Phillies manager Ryne Sandberg said.

With his 11 strikeouts Wednesday, Hamels moved into sole possession of third place in franchise history for double-digit strikeout games. Hamels now has 26, one better than Jim Bunning. He is still 22 away from Curt Schilling (48) and 44 away from leader Steve Carlton (70).

The 11 strikeouts for Hamels is a season high. He hasn’t allowed a run in his last 16 2/3 innings, either.

“He’s the true winner in this game,” Brignac said.

Hamels wasn’t even supposed to start Wednesday. His turn in the rotation was supposed to be Thursday, but with the day off Monday his normal-five day routine ended Wednesday. He asked Sandberg and Phillies pitching coach Bob McClure if he could trade with Kyle Kendrick and stay on his five-game schedule. The coaches agreed.