| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | protected function main(): ResponseInterface |
||
| 34 | { |
||
| 35 | try { |
||
| 36 | return $this->innerMiddleware->process($this->request, $this->handler); |
||
| 37 | } catch (\Throwable $e) { |
||
| 38 | if ($e instanceof $this->catchClass) { |
||
| 39 | return ($this->catcher)($e, $this->request, $this->handler); |
||
| 40 | } |
||
| 41 | throw $e; |
||
| 42 | } |
||
| 43 | } |
||
| 44 | } |
||
| 45 |