@@ -135,7 +135,7 @@ |
||
135 | 135 | /** |
136 | 136 | * Check if any candidates have reached the quota and can be elected. |
137 | 137 | * |
138 | - * @param array $candidates Array of active candidates to check |
|
138 | + * @param Candidate[] $candidates Array of active candidates to check |
|
139 | 139 | * |
140 | 140 | * @return bool Whether any candidates were changed to elected |
141 | 141 | */ |
@@ -2,9 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Michaelc\Voting\STV; |
4 | 4 | |
5 | -use Psr\Log\LoggerInterface as Logger; |
|
6 | 5 | use Michaelc\Voting\Exception\VotingLogicException as LogicException; |
7 | -use Michaelc\Voting\Exception\VotingRuntimeException as RuntimeException; |
|
6 | +use Psr\Log\LoggerInterface as Logger; |
|
8 | 7 | |
9 | 8 | class VoteHandler |
10 | 9 | { |