Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
55 | 1 | public function toArray() |
|
56 | { |
||
57 | 1 | $array = parent::toArray(); |
|
58 | 1 | $array['payment_details']['bank_bic'] = $this->bic; |
|
59 | 1 | $array['payment_details']['bank_account_number'] = $this->iban; |
|
60 | 1 | $array['payment_details']['consumer_name'] = $this->name; |
|
61 | 1 | $array['payment_details']['description'] = $this->description; |
|
62 | 1 | return $array; |
|
63 | } |
||
64 | } |
||
65 |
This check marks private properties in classes that are never used. Those properties can be removed.