@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Tests\Michaelc\Voting; |
4 | 4 | |
5 | -use Michaelc\Voting\STV\Election; |
|
6 | -use Michaelc\Voting\STV\Candidate; |
|
7 | 5 | use Michaelc\Voting\STV\Ballot; |
6 | +use Michaelc\Voting\STV\Candidate; |
|
7 | +use Michaelc\Voting\STV\Election; |
|
8 | 8 | use Michaelc\Voting\STV\VoteHandler; |
9 | 9 | use Psr\Log\LoggerInterface as Logger; |
10 | 10 |
@@ -342,7 +342,7 @@ |
||
342 | 342 | public function checkBallotValidity(Ballot $ballot): bool |
343 | 343 | { |
344 | 344 | if (count($ballot->getRanking()) > $this->election->getCandidateCount()) { |
345 | - $this->logger->debug('Invalid ballot - number of candidates', ['ballot' => $ballot,]); |
|
345 | + $this->logger->debug('Invalid ballot - number of candidates', ['ballot' => $ballot, ]); |
|
346 | 346 | |
347 | 347 | return false; |
348 | 348 | } else { |