| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class UserController extends AbstractController implements AuthenticatedInterface |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Shows events for a class and user given |
||
| 23 | * |
||
| 24 | * @Route("/classes/{id}", name="class-events") |
||
| 25 | * @param Request $request |
||
| 26 | * @param $id |
||
| 27 | * @return \Symfony\Component\HttpFoundation\Response |
||
| 28 | */ |
||
| 29 | public function classEvents(Request $request, $id = '') |
||
| 42 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.