| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 40 | public function getTrace(): array |
||
| 41 | { |
||
| 42 | $frames = $this->exception->getTrace(); |
||
| 43 | |||
| 44 | if (!$this->inTrace($frames)) { |
||
| 45 | array_unshift($frames, [ |
||
| 46 | 'file' => $this->exception->getFile(), |
||
| 47 | 'line' => $this->exception->getLine(), |
||
| 48 | ]); |
||
| 49 | } |
||
| 50 | |||
| 51 | return $frames; |
||
| 52 | } |
||
| 70 |