| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class EventController extends BaseController |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @Route("/{event}", name="event") |
||
| 26 | * |
||
| 27 | * @return Response |
||
| 28 | */ |
||
| 29 | public function eventAction(Event $event) |
||
|
|
|||
| 30 | { |
||
| 31 | return $this->render('index.html.twig'); |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @Route("/create", name="event_create") |
||
| 36 | * |
||
| 37 | * @return Response |
||
| 38 | */ |
||
| 39 | public function newAction() |
||
| 40 | { |
||
| 41 | return $this->render('index.html.twig'); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @Route("/{event}/update", name="event_update") |
||
| 46 | * |
||
| 47 | * @return Response |
||
| 48 | */ |
||
| 49 | public function editAction(Event $event) |
||
| 52 | } |
||
| 53 | } |
||
| 54 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.