Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | public function __invoke(Request $request, string $field, string $id) |
||
33 | { |
||
34 | $response = $this->fileRequestHandler->handle($request, $this->requestFormatResolver->getFormatFromRequest($request), $field, $id); |
||
35 | |||
36 | return $this->getResponse($request, $response->getContent(), $response->getStatusCode()); |
||
37 | } |
||
39 |