@@ -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 | |
@@ -57,6 +57,9 @@ |
||
| 57 | 57 | } |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | + /** |
|
| 61 | + * @param Ballot $ballot |
|
| 62 | + */ |
|
| 60 | 63 | protected function allocateVotes(&$ballot): Ballot |
| 61 | 64 | { |
| 62 | 65 | $weight = $ballot->getWeight(); |