@@ -70,7 +70,7 @@ |
||
| 70 | 70 | { |
| 71 | 71 | foreach ($players as $mainPlayer) { |
| 72 | 72 | foreach ($players as $player) { |
| 73 | - if ($mainPlayer->id() == $player->id()){ |
|
| 73 | + if ($mainPlayer->id() == $player->id()) { |
|
| 74 | 74 | continue; |
| 75 | 75 | } |
| 76 | 76 | $this->excludePlayers[$mainPlayer->id()][] = $player->id(); |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | $retry = count($this->players) + $this->players->countExcludePlayers(); |
| 86 | 86 | |
| 87 | - while (!$this->isValidCombination() && $retry > 0 ) { |
|
| 87 | + while (!$this->isValidCombination() && $retry > 0) { |
|
| 88 | 88 | $this->combination = []; |
| 89 | 89 | $secretPlayers = $this->players->shufflePlayers(); |
| 90 | 90 | foreach ($this->players as $playerId => $player) { |