Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
38 | 81 | private function addBuiltInHandlers(): void |
|
39 | { |
||
40 | 81 | $this->handle( |
|
41 | 81 | NotFound404Exception::class, |
|
42 | 81 | static fn (NotFound404Exception $exception) => (new NotFound404ExceptionHandler())->__invoke($exception), |
|
43 | 81 | ); |
|
44 | 81 | $this->handle( |
|
45 | 81 | Exception::class, |
|
46 | 81 | static fn (Exception $exception) => (new FallbackExceptionHandler())->__invoke($exception), |
|
47 | 81 | ); |
|
50 |