@@ -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 | } |
@@ -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)) { |