Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
19 | public function imageRedirectAction(Request $request, $id, $width, $height) |
||
20 | { |
||
21 | $media = $this->getDoctrine()->getManager()->find('MediaMonksSonataMediaBundle:Media', $id); |
||
22 | |||
23 | return $this->get('mediamonks.sonata_media.utility.image')->getRedirectResponse($media, $width, $height, $request->query->all()); |
||
24 | } |
||
25 | |||
38 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.