Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
34 | public function __invoke( |
||
35 | RequestInterface $request, |
||
36 | ResponseInterface $response, |
||
37 | callable $next = null |
||
38 | ) { |
||
39 | parent::__invoke($request, $response, $next); |
||
40 | |||
41 | $request = $this->prepareUri( |
||
42 | $request->withMethod($this->method) |
||
43 | ); |
||
44 | |||
45 | return $next($request, $response); |
||
46 | } |
||
47 | |||
62 |