Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function logsAction(Request $request) |
||
|
|||
35 | { |
||
36 | $em = $this->get('doctrine.orm.default_entity_manager'); |
||
37 | $logs = $em->getRepository('SockamCSPLoggerBundle:CSPReport')->findBy([], ['dateReceived' => 'desc']); |
||
38 | |||
39 | return $this->render('@SockamCSPLogger/CSPLogs/logs.html.twig', ['logs' => $logs]); |
||
40 | } |
||
41 | } |
||
42 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.