| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 8 | public function jsonSerialize(): array |
|
| 28 | { |
||
| 29 | 8 | return array_merge(parent::jsonSerialize(), [ |
|
| 30 | 8 | 'userFullName' => $this->userFullName, |
|
| 31 | 8 | 'clientFullName' => $this->clientFullName, |
|
| 32 | 8 | 'privilege' => $this->privilege, |
|
| 33 | 8 | 'isClientMessage' => (int)$this->isClientMessage, |
|
| 34 | 8 | ]); |
|
| 37 |