| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 27 | 7 | public function jsonSerialize(): array |
|
| 28 | { |
||
| 29 | 7 | return array_filter([ |
|
| 30 | 7 | 'bind' => $this->bind, |
|
| 31 | 7 | 'description' => $this->description, |
|
| 32 | 7 | 'item' => $this->item, |
|
| 33 | 7 | 'items' => $this->items, |
|
| 34 | 7 | 'parameters' => $this->parameters, |
|
| 35 | 7 | ], fn ($value) => $value !== null); |
|
| 36 | } |
||
| 38 |