Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3.0416 |
Changes | 0 |
1 | <?php |
||
42 | 1 | protected function main(): ResponseInterface |
|
43 | { |
||
44 | try { |
||
45 | 1 | return $this->innerMiddleware->process($this->request, $this->handler); |
|
46 | 1 | } catch (\Throwable $e) { |
|
47 | 1 | if ($e instanceof $this->catchClass) { |
|
48 | 1 | return $this->catcher->handle($e, $this->request, $this->handler, $this->innerMiddleware); |
|
49 | } |
||
50 | throw $e; |
||
51 | } |
||
54 |