@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * Get poll statistics. |
65 | 65 | * |
66 | - * @param Poll $poll |
|
66 | + * @param \AppBundle\Entity\Poll $poll |
|
67 | 67 | * |
68 | 68 | * @return array |
69 | 69 | */ |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Get the result of the poll (in terms of a choice). |
80 | 80 | * |
81 | - * @param Poll $poll |
|
81 | + * @param \AppBundle\Entity\Poll $poll |
|
82 | 82 | * |
83 | 83 | * @return \AppBundle\Entity\Choice |
84 | 84 | */ |
@@ -6,8 +6,8 @@ |
||
6 | 6 | use AppBundle\Exception\InvalidSort; |
7 | 7 | use AppBundle\Utils\ElectionManager; |
8 | 8 | use AppBundle\Utils\PollManager; |
9 | -use Pagerfanta\Adapter\ArrayAdapter; |
|
10 | 9 | use PagerFanta\Exception\Exception; |
10 | +use Pagerfanta\Adapter\ArrayAdapter; |
|
11 | 11 | use Pagerfanta\Pagerfanta; |
12 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
13 | 13 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |