@@ -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 | */ |
@@ -45,7 +45,7 @@ |
||
45 | 45 | $sort = $request->request->has('sort') ? $sort = $request->get('sort') : null; |
46 | 46 | $polls = $this->pollManager->getPolls($sort); |
47 | 47 | $current = $this->pollManager->getPolls($sort, true); |
48 | - } catch ( InvalidSort $e ) { |
|
48 | + } catch (InvalidSort $e) { |
|
49 | 49 | throw new NotFoundHttpException('This is an invalid sorting method'); |
50 | 50 | } |
51 | 51 |