| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function handle(Throwable $e, Request $request) : ThrowableHandlerInterface |
||
| 29 | { |
||
| 30 | $e = $e instanceof Error ? new ErrorException($e->getMessage(), (int) $e->getCode(), E_ERROR, $e->getFile(), $e->getLine()) : $e; |
||
| 31 | assert($e instanceof Exception); |
||
| 32 | $this->error->handle($e, $request); |
||
| 33 | |||
| 34 | return $this; |
||
| 35 | } |
||
| 42 |