@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Constructor |
32 | 32 | * |
33 | - * @param array $ranking The ranking of candidates Key being ranking, |
|
33 | + * @param integer[] $ranking The ranking of candidates Key being ranking, |
|
34 | 34 | * value being a candidate id |
35 | 35 | */ |
36 | 36 | public function __construct(array $ranking) |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Michaelc\Voting\STV; |
4 | 4 | |
5 | -use Michaelc\Voting\STV\Candidate; |
|
6 | - |
|
7 | 5 | class Ballot |
8 | 6 | { |
9 | 7 | /** |