| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function toArray(): array |
||
| 41 | { |
||
| 42 | $codeSnippet = (new Codesnippet()) |
||
| 43 | ->snippetLineCount(31) |
||
| 44 | ->surroundingLine($this->lineNumber) |
||
| 45 | ->get($this->file); |
||
| 46 | |||
| 47 | return [ |
||
| 48 | 'line_number' => $this->lineNumber, |
||
| 49 | 'method' => $this->method, |
||
| 50 | 'class' => $this->class, |
||
| 51 | 'code_snippet' => $codeSnippet, |
||
| 52 | 'file' => $this->file, |
||
| 53 | 'is_application_frame' => $this->isApplicationFrame, |
||
| 54 | ]; |
||
| 55 | } |
||
| 56 | |||
| 72 |