| 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); | ||
| 39 | public function getTrace(): array | ||
| 40 |     { | ||
| 41 | $frames = $this->exception->getTrace(); | ||
| 42 | |||
| 43 |         if (!$this->inTrace($frames)) { | ||
| 44 | array_unshift($frames, [ | ||
| 45 | 'file' => $this->exception->getFile(), | ||
| 46 | 'line' => $this->exception->getLine(), | ||
| 47 | ]); | ||
| 48 | } | ||
| 49 | |||
| 50 | return $frames; | ||
| 51 | } | ||
| 69 |