Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | private function getMessageDetails(): string |
||
32 | { |
||
33 | $result = ''; |
||
34 | $num = 0; |
||
35 | foreach ($this->exceptions as $exception) { |
||
36 | $result .= sprintf( |
||
37 | "\n\n%d) %s:%s\n[%s] #%d: %s", |
||
38 | ++$num, |
||
39 | $exception->getFile(), |
||
40 | $exception->getLine(), |
||
41 | get_class($exception), |
||
42 | $exception->getCode(), |
||
43 | $exception->getMessage() |
||
44 | ); |
||
45 | } |
||
46 | return $result; |
||
47 | } |
||
49 |