@@ -59,7 +59,7 @@ |
||
| 59 | 59 | |
| 60 | 60 | public function addItem(array $array) |
| 61 | 61 | { |
| 62 | - if (! isset($this->attributes['BankEntryLines']) || $this->attributes['BankEntryLines'] == null) { |
|
| 62 | + if ( ! isset($this->attributes['BankEntryLines']) || $this->attributes['BankEntryLines'] == null) { |
|
| 63 | 63 | $this->attributes['BankEntryLines'] = []; |
| 64 | 64 | } |
| 65 | 65 | $this->attributes['BankEntryLines'][] = $array; |
@@ -123,10 +123,10 @@ |
||
| 123 | 123 | */ |
| 124 | 124 | public function addItem(array $array) |
| 125 | 125 | { |
| 126 | - if (! isset($this->attributes['QuotationLines']) || $this->attributes['QuotationLines'] == null) { |
|
| 126 | + if ( ! isset($this->attributes['QuotationLines']) || $this->attributes['QuotationLines'] == null) { |
|
| 127 | 127 | $this->attributes['QuotationLines'] = []; |
| 128 | 128 | } |
| 129 | - if (! isset($array['LineNumber'])) { |
|
| 129 | + if ( ! isset($array['LineNumber'])) { |
|
| 130 | 130 | $array['LineNumber'] = count($this->attributes['QuotationLines']) + 1; |
| 131 | 131 | } |
| 132 | 132 | $this->attributes['QuotationLines'][] = $array; |