Code Duplication    Length = 3-3 lines in 2 locations

system/modules/Ecommerce/objects/OptionsParser.php 2 locations

@@ 160-162 (lines=3) @@
157
                    break;
158
                case 'price':
159
                    $colName = Item\Offer\Price::colPrefix() . 'price';
160
                    if (!empty($filter['min'])) {
161
                        $selectOptions['where'][] = [$colName, (float) $filter['min'], '>='];
162
                    }
163
                    if (!empty($filter['max'])) {
164
                        $selectOptions['where'][] = [$colName, (float) $filter['max'], '<='];
165
                    }
@@ 163-165 (lines=3) @@
160
                    if (!empty($filter['min'])) {
161
                        $selectOptions['where'][] = [$colName, (float) $filter['min'], '>='];
162
                    }
163
                    if (!empty($filter['max'])) {
164
                        $selectOptions['where'][] = [$colName, (float) $filter['max'], '<='];
165
                    }
166
                    break;
167
                case 'options':
168
                case 'offerOptions':