@@ -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 | |