| Conditions | 4 |
| Paths | 8 |
| Total Lines | 18 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | #[Override] |
||
| 21 | public function jsonSerialize(): array |
||
| 22 | { |
||
| 23 | $data = []; |
||
| 24 | |||
| 25 | if ($this->xhprof !== null) { |
||
| 26 | $data['xhprof'] = $this->xhprof; |
||
| 27 | } |
||
| 28 | |||
| 29 | if ($this->xdebug !== null) { |
||
| 30 | $data['xdebug'] = $this->xdebug; |
||
| 31 | } |
||
| 32 | |||
| 33 | if ($this->php !== null) { |
||
| 34 | $data['php'] = $this->php; |
||
| 35 | } |
||
| 36 | |||
| 37 | return $data; |
||
| 38 | } |
||
| 40 |