|
@@ -123,10 +123,10 @@ |
|
|
block discarded – undo |
|
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; |
Please login to merge, or discard this patch.