@@ -18,8 +18,8 @@ |
||
| 18 | 18 | $cardValidator = $this->getMock('Bourdeau\Bundle\HandEvaluatorBundle\HandEvaluator\CardValidator'); |
| 19 | 19 | |
| 20 | 20 | $cardValidator->expects($this->any()) |
| 21 | - ->method('areValid') |
|
| 22 | - ->willReturn(true); |
|
| 21 | + ->method('areValid') |
|
| 22 | + ->willReturn(true); |
|
| 23 | 23 | |
| 24 | 24 | $this->handFinder = new HandFinder($cardValidator); |
| 25 | 25 | } |
@@ -563,7 +563,7 @@ |
||
| 563 | 563 | */ |
| 564 | 564 | private function isHighCard(array $cards) |
| 565 | 565 | { |
| 566 | - $response[] = current($cards); |
|
| 566 | + $response[] = current($cards); |
|
| 567 | 567 | |
| 568 | 568 | return $this->getResponse('High card', 1, $this->getRank($response), $response); |
| 569 | 569 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function areValid(array $cards) |
| 29 | 29 | { |
| 30 | 30 | if (count($cards) != 7) { |
| 31 | - throw new \Exception("It's Texas Holdem! You need 7 cards!"); |
|
| 31 | + throw new \Exception("It's Texas Holdem! You need 7 cards!"); |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | if ($this->areCardsFormatValid($cards) && $this->hasNoCardDuplication($cards)) { |