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