Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | private function ensureICanSeeAdvancedSearchBox() |
||
37 | { |
||
38 | $this->index->containsFilters([ |
||
39 | new Select2('Client'), |
||
40 | new Input('Currency'), |
||
41 | new Input('Type'), |
||
42 | new Input('Servers'), |
||
43 | new Input('Description'), |
||
44 | new Select2('Tariff'), |
||
45 | new Select2('Reseller'), |
||
46 | ]); |
||
47 | } |
||
48 | |||
66 |
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.