Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
45 | public function handle() |
||
46 | { |
||
47 | $response = Formatter::formatExceptionAsDataArray( |
||
48 | $this->getInspector(), |
||
49 | false |
||
50 | ); |
||
51 | |||
52 | $title = $this->getClassAsTitle($response["type"]); |
||
53 | |||
54 | echo "<html><h1>${title}</h1><p>${response['message']}</p></html>"; |
||
55 | |||
56 | return Handler::QUIT; |
||
57 | } |
||
59 |