Total Complexity | 7 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class ErrorDetector |
||
20 | { |
||
21 | /** |
||
22 | * @param \Exception $exception |
||
23 | * |
||
24 | * @return ErrorException|NotFoundException |
||
25 | */ |
||
26 | 4 | public function wrap(\Exception $exception) |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * @param ResponseInterface $response |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | 3 | public function detect(ResponseInterface $response) |
|
58 |