@@ -48,7 +48,7 @@ |
||
48 | 48 | |
49 | 49 | return $this->render( |
50 | 50 | 'user/index.html.twig', |
51 | - ['votes' => $votes, 'user' => $user,] |
|
51 | + ['votes' => $votes, 'user' => $user, ] |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * candidate votes) |
121 | 121 | * @return Ballot The same ballot passed in modified |
122 | 122 | */ |
123 | - protected function allocateVotes(Ballot &$ballot, float $multiplier = 1.0, float $divisor = 1.0): Ballot |
|
123 | + protected function allocateVotes(Ballot & $ballot, float $multiplier = 1.0, float $divisor = 1.0): Ballot |
|
124 | 124 | { |
125 | 125 | $weight = $ballot->setWeight(($ballot->getWeight() * $multiplier) / $divisor); |
126 | 126 | $candidate = $ballot->getNextChoice(); |