| Conditions | 4 | 
| Paths | 8 | 
| Total Lines | 17 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 20 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 47 | public function toArray(): array  | 
            ||
| 48 |     { | 
            ||
| 49 | $data = [];  | 
            ||
| 50 | |||
| 51 |         if ($this->payerSelected) { | 
            ||
| 52 | $data['payer_selected'] = $this->payerSelected;  | 
            ||
| 53 | }  | 
            ||
| 54 | |||
| 55 |         if ($this->payeePreferred) { | 
            ||
| 56 | $data['payee_preferred'] = $this->payeePreferred;  | 
            ||
| 57 | }  | 
            ||
| 58 | |||
| 59 |         if ($this->standardEntryClassCode) { | 
            ||
| 60 | $data['standard_entry_class_code'] = $this->standardEntryClassCode;  | 
            ||
| 61 | }  | 
            ||
| 62 | |||
| 63 | return $data;  | 
            ||
| 64 | }  | 
            ||
| 66 |