Conditions | 3 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
42 | public function handleShutdown(): void |
||
43 | { |
||
44 | $error = \error_get_last(); |
||
45 | |||
46 | if (!\is_array($error) || !$this->isCatchableFatalError($error['type'])) { |
||
47 | return; |
||
48 | } |
||
49 | |||
50 | $this->phpErrorHandler->handlePhpError( |
||
51 | $error['type'], |
||
52 | $error['message'], |
||
53 | $error['file'], |
||
54 | $error['line'] |
||
55 | ); |
||
75 |